Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-36281

MEDIUM 5.5EPSS 16%

net/mlx5: Use mlx5_ipsec_rx_status_destroy to correctly delete status rules

Mitigation

  • Upgrade Linux to 6.6.33 or later.

Who should check

  • Anyone running Linux >= 20af7afcd8b85a4cb413072d631bf9a6469eee3a, < b0a15cde37a8388e57573686f650a17208ae1212; >= 94af50c0a9bb961fe93cf0fdd14eb0883da86721, < cc9ac559f2e21894c21ac5b0c85fb24a5cab266c; >= 94af50c0a9bb961fe93cf0fdd14eb0883da86721, < 16d66a4fa81da07bc4ed19f4e53b87263c2f8d38; >= 6.6.8, < 6.6.33
  • Anyone running Linux 6.7

Vulnerability facts

Affected
Linux >= 20af7afcd8b85a4cb413072d631bf9a6469eee3a, < b0a15cde37a8388e57573686f650a17208ae1212; >= 94af50c0a9bb961fe93cf0fdd14eb0883da86721, < cc9ac559f2e21894c21ac5b0c85fb24a5cab266c; >= 94af50c0a9bb961fe93cf0fdd14eb0883da86721, < 16d66a4fa81da07bc4ed19f4e53b87263c2f8d38; >= 6.6.8, < 6.6.33; Linux 6.7
Fixed in
Linux 16d66a4fa81da07bc4ed19f4e53b87263c2f8d38, Linux 6.6.33
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.30% chance of exploitation in 30 days (percentile 16, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Use mlx5_ipsec_rx_status_destroy to correctly delete status rules rx_create no longer allocates a modify_hdr instance that needs to be cleaned up. The mlx5_modify_header_dealloc call will lead to a NULL pointer dereference. A leak in the rules also previously occurred since there are now two rules populated related to status. BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 109907067 P4D 109907067 PUD 116890067 PMD 0 Oops: 0000 [#1] SMP CPU: 1 PID: 484 Comm: ip Not tainted 6.9.0-rc2-rrameshbabu+ #254 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS Arch Linux 1.16.3-1-1 04/01/2014 RIP: 0010:mlx5_modify_header_dealloc+0xd/0x70 <snip> Call Trace: <TASK> ? show_regs+0x60/0x70 ? __die+0x24/0x70 ? page_fault_oops+0x15f/0x430 ? free_to_partial_list.constprop.0+0x79/0x150 ? do_user_addr_fault+0x2c9/0x5c0 ? exc_page_fault+0x63/0x110 ? asm_exc_page_fault+0x27/0x30 ? mlx5_modify_header_dealloc+0xd/0x70 rx_create+0x374/0x590 rx_add_rule+0x3ad/0x500 ? rx_add_rule+0x3ad/0x500 ? mlx5_cmd_exec+0x2c/0x40 ? mlx5_create_ipsec_obj+0xd6/0x200 mlx5e_accel_ipsec_fs_add_rule+0x31/0xf0 mlx5e_xfrm_add_state+0x426/0xc00 <snip>

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 20af7afcd8b85a4cb413072d631bf9a6469eee3a, < b0a15cde37a8388e57573686f650a17208ae1212; >= 94af50c0a9bb961fe93cf0fdd14eb0883da86721, < cc9ac559f2e21894c21ac5b0c85fb24a5cab266c; >= 94af50c0a9bb961fe93cf0fdd14eb0883da86721, < 16d66a4fa81da07bc4ed19f4e53b87263c2f8d38; >= 6.6.8, < 6.6.33—cvelist
Linux6.7—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-36281. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-36281.md
Affected: Linux >= 20af7afcd8b85a4cb413072d631bf9a6469eee3a, < b0a15cde37a8388e57573686f650a17208ae1212; >= 94af50c0a9bb961fe93cf0fdd14eb0883da86721, < cc9ac559f2e21894c21ac5b0c85fb24a5cab266c; >= 94af50c0a9bb961fe93cf0fdd14eb0883da86721, < 16d66a4fa81da07bc4ed19f4e53b87263c2f8d38; >= 6.6.8, < 6.6.33; Linux …
Fixed in: Linux 16d66a4fa81da07bc4ed19f4e53b87263c2f8d38, Linux 6.6.33

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-36281 being exploited?

There is no confirmed exploitation: CVE-2024-36281 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-36281?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-36281?

Linux >= 20af7afcd8b85a4cb413072d631bf9a6469eee3a, < b0a15cde37a8388e57573686f650a17208ae1212; >= 94af50c0a9bb961fe93cf0fdd14eb0883da86721, < cc9ac559f2e21894c21ac5b0c85fb24a5cab266c; >= 94af50c0a9bb961fe93cf0fdd14eb0883da86721, < 16d66a4fa81da07bc4ed19f4e53b87263c2f8d38; >= 6.6.8, < 6.6.33; Linux 6.7.

Is there a fix for CVE-2024-36281?

Yes. Fixed in Linux 16d66a4fa81da07bc4ed19f4e53b87263c2f8d38, Linux 6.6.33. Upgrade Linux to 6.6.33 or later.

How do I check if I'm affected by CVE-2024-36281?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors