Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-53167 — kernel

🟠 CVSS 7.5 — High ✅ No Known Exploit NVD
7.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

nfs/blocklayout: Don't attempt unregister for invalid block device

In the Linux kernel, the following vulnerability has been resolved:

nfs/blocklayout: Don't attempt unregister for invalid block device

Since commit d869da91cccb ("nfs/blocklayout: Fix premature PR key

unregistration") an unmount of a pNFS SCSI layout-enabled NFS may

dereference a NULL block_device in:

bl_unregister_scsi+0x16/0xe0 [blocklayoutdriver]

bl_free_device+0x70/0x80 [blocklayoutdriver]

bl_free_deviceid_node+0x12/0x30 [blocklayoutdriver]

nfs4_put_deviceid_node+0x60/0xc0 [nfsv4]

nfs4_deviceid_purge_client+0x132/0x190 [nfsv4]

unset_pnfs_layoutdriver+0x59/0x60 [nfsv4]

nfs4_destroy_server+0x36/0x70 [nfsv4]

nfs_free_server+0x23/0xe0 [nfs]

deactivate_locked_super+0x30/0xb0

cleanup_mnt+0xba/0x150

task_work_run+0x59/0x90

syscall_exit_to_user_mode+0x217/0x220

do_syscall_64+0x8e/0x160

This happens because even though we were able to create the

nfs4_deviceid_node, the lookup for the device was unable to attach the

block device to the pnfs_block_dev.

If we never found a block device to register, we can avoid this case with

the PNFS_BDEV_REGISTERED flag. Move the deref behind the test for the

flag.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: None.
  • Availability impact: High — total loss, or loss the attacker controls.

Affected software

CVE-2024-53167 is recorded against 2 packages.

  • kernel (from 6.12.0 up to 6.12.2)
  • linux-kernel (from 6.12 up to 6.12.2)

Timeline and source

Published on 27 December 2024 and last revised on 12 August 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
github.com (Advisory)
nvd.nist.gov (Advisory)
git.kernel.org (Package)

Other advisories for this package

kernel has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2024-53167 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity High
CVSS Score 7.5
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2024-12-27
Updated 2026-08-20
Modified 2026-08-12

Affected Packages

Software From version Fixed in
kernel 6.12.0 6.12.2
linux-kernel 6.12 6.12.2

Similar Threats

Site Security Check

Is kernel part of your stack?

CVE-2024-53167 is rated CVSS 7.5 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2024
✓