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-53131

MEDIUM 5.5EPSS 18%

nilfs2: fix null-ptr-deref in block_touch_buffer tracepoint

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 085556bf8c70e2629e02e79268dac3016a08b8bf; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 6438f3f42cda825f6f59b4e45ac3a1da28a6f2c9; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < b017697a517f8779ada4e8ce1c2c75dbf60a2636; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 19c71cdd77973f99a9adc3190130bc3aa7ae5423; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 3b2a4fd9bbee77afdd3ed5a05a0c02b6cde8d3b9; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 59b49ca67cca7b007a5afd3de0283c8008157665; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 77e47f89d32c2d72eb33d0becbce7abe14d061f4; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < cd45e963e44b0f10d90b9e6c0e8b4f47f3c92471
  • Anyone running Linux 3.9

Vulnerability facts

Affected
Linux >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 085556bf8c70e2629e02e79268dac3016a08b8bf; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 6438f3f42cda825f6f59b4e45ac3a1da28a6f2c9; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < b017697a517f8779ada4e8ce1c2c75dbf60a2636; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 19c71cdd77973f99a9adc3190130bc3aa7ae5423; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 3b2a4fd9bbee77afdd3ed5a05a0c02b6cde8d3b9; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 59b49ca67cca7b007a5afd3de0283c8008157665; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 77e47f89d32c2d72eb33d0becbce7abe14d061f4; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < cd45e963e44b0f10d90b9e6c0e8b4f47f3c92471; Linux 3.9
Fixed in
Linux 085556bf8c70e2629e02e79268dac3016a08b8bf, Linux 6438f3f42cda825f6f59b4e45ac3a1da28a6f2c9, Linux 19c71cdd77973f99a9adc3190130bc3aa7ae5423, Linux 3b2a4fd9bbee77afdd3ed5a05a0c02b6cde8d3b9, Linux 59b49ca67cca7b007a5afd3de0283c8008157665, Linux 77e47f89d32c2d72eb33d0becbce7abe14d061f4
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.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix null-ptr-deref in block_touch_buffer tracepoint Patch series "nilfs2: fix null-ptr-deref bugs on block tracepoints". This series fixes null pointer dereference bugs that occur when using nilfs2 and two block-related tracepoints. This patch (of 2): It has been reported that when using "block:block_touch_buffer" tracepoint, touch_buffer() called from __nilfs_get_folio_block() causes a NULL pointer dereference, or a general protection fault when KASAN is enabled. This happens because since the tracepoint was added in touch_buffer(), it references the dev_t member bh->b_bdev->bd_dev regardless of whether the buffer head has a pointer to a block_device structure. In the current implementation, the block_device structure is set after the function returns to the caller. Here, touch_buffer() is used to mark the folio/page that owns the buffer head as accessed, but the common search helper for folio/page used by the caller function was optimized to mark the folio/page as accessed when it was reimplemented a long time ago, eliminating the need to call touch_buffer() here in the first place. So this solves the issue by eliminating the touch_buffer() call itself.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 5305cb830834549b9203ad4d009ad5483c5e293f, < 085556bf8c70e2629e02e79268dac3016a08b8bf; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 6438f3f42cda825f6f59b4e45ac3a1da28a6f2c9; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < b017697a517f8779ada4e8ce1c2c75dbf60a2636; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 19c71cdd77973f99a9adc3190130bc3aa7ae5423; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 3b2a4fd9bbee77afdd3ed5a05a0c02b6cde8d3b9; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 59b49ca67cca7b007a5afd3de0283c8008157665; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 77e47f89d32c2d72eb33d0becbce7abe14d061f4; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < cd45e963e44b0f10d90b9e6c0e8b4f47f3c92471—cvelist
Linux3.9—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-53131. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53131.md
Affected: Linux >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 085556bf8c70e2629e02e79268dac3016a08b8bf; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 6438f3f42cda825f6f59b4e45ac3a1da28a6f2c9; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < b017697a517f8779ada4e8ce1c2c75dbf60a2636; >= 5305cb830834549b9203ad4…
Fixed in: Linux 085556bf8c70e2629e02e79268dac3016a08b8bf, Linux 6438f3f42cda825f6f59b4e45ac3a1da28a6f2c9, Linux 19c71cdd77973f99a9adc3190130bc3aa7ae5423, Linux 3b2a4fd9bbee77afdd3ed5a05a0c02b6cde8d3b9, Linux 59b49ca67cca7b007a5afd3de0283c8008157665, Linux 77e47f89d32c2d72eb33d0becbce7abe14d061f4

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-53131 being exploited?

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

How serious is CVE-2024-53131?

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

Which versions are affected by CVE-2024-53131?

Linux >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 085556bf8c70e2629e02e79268dac3016a08b8bf; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 6438f3f42cda825f6f59b4e45ac3a1da28a6f2c9; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < b017697a517f8779ada4e8ce1c2c75dbf60a2636; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 19c71cdd77973f99a9adc3190130bc3aa7ae5423; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 3b2a4fd9bbee77afdd3ed5a05a0c02b6cde8d3b9; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 59b49ca67cca7b007a5afd3de0283c8008157665; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < 77e47f89d32c2d72eb33d0becbce7abe14d061f4; >= 5305cb830834549b9203ad4d009ad5483c5e293f, < cd45e963e44b0f10d90b9e6c0e8b4f47f3c92471; Linux 3.9.

Is there a fix for CVE-2024-53131?

Yes. Fixed in Linux 085556bf8c70e2629e02e79268dac3016a08b8bf, Linux 6438f3f42cda825f6f59b4e45ac3a1da28a6f2c9, Linux 19c71cdd77973f99a9adc3190130bc3aa7ae5423, Linux 3b2a4fd9bbee77afdd3ed5a05a0c02b6cde8d3b9, Linux 59b49ca67cca7b007a5afd3de0283c8008157665, Linux 77e47f89d32c2d72eb33d0becbce7abe14d061f4. No fix listed yet: follow the vendor advisory.

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

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