{"id":"CVE-2025-21800","published":"2025-02-27T20:00:54Z","modified":"2026-05-11T21:06:44Z","title":"net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset\n\nWhen bit offset for HWS_SET32 macro is negative,\nUBSAN complains about the shift-out-of-bounds:\n\n  UBSAN: shift-out-of-bounds in\n  drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:177:2\n  shift exponent -8 is negative","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00304,"percentile":0.15594,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/92cff996624c4757d5bbace3dfa3f1567ba94143","tags":[]},{"url":"https://git.kernel.org/stable/c/69c676c0ded472713e6d1b3a456b3c4f52f66f0e","tags":[]},{"url":"https://git.kernel.org/stable/c/be482f1d10da781db9445d2753c1e3f1fd82babf","tags":[]}],"priority":{"score":3.1,"factors":[{"name":"EPSS percentile","points":3.12}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 74a778b4a63faef9ff02aad0d332b209835f93e1, < 92cff996624c4757d5bbace3dfa3f1567ba94143",">= 74a778b4a63faef9ff02aad0d332b209835f93e1, < 69c676c0ded472713e6d1b3a456b3c4f52f66f0e",">= 74a778b4a63faef9ff02aad0d332b209835f93e1, < be482f1d10da781db9445d2753c1e3f1fd82babf"]},{"vendor":"Linux","product":"Linux","versions":["6.12"]}],"euvd":{"id":"EUVD-2025-5998","exploited":false,"provenance":"source"}}