Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-53167— nfs/blocklayout: Don't attempt unregister for invalid block device

CVSS 7.5 · High EPSS 0.64% · P48

Affected Version Matrix 8

VendorProductVersion RangeStatus
LinuxLinuxd869da91cccb90320e101a2758f1e2b3803ade5c< 3402704a424f34bbcca7f4a4503859357f422217affected
d869da91cccb90320e101a2758f1e2b3803ade5c< faa4bacfaeed827a4ca8cb8529a3ce65a9e8ef46affected
d869da91cccb90320e101a2758f1e2b3803ade5c< 3a4ce14d9a6b868e0787e4582420b721c04ee41eaffected
6.11affected
< 6.11unaffected
6.11.11≤ 6.11.*unaffected
6.12.2≤ 6.12.*unaffected
6.13≤ *unaffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-53167

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
nfs/blocklayout: Don't attempt unregister for invalid block device
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于net:mscc模块中ocelot_ifh_set_basic函数中SRC_PORT字段处理不当,可能导致内核崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux d869da91cccb90320e101a2758f1e2b3803ade5c ~ 3402704a424f34bbcca7f4a4503859357f422217 -
LinuxLinux 6.11 -

II. Public POCs for CVE-2024-53167

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-53167

登录查看更多情报信息。

Patches & Fixes for CVE-2024-53167 (3)

Same Patch Batch · Linux · 2024-12-27 · 221 CVEs total

CVE-2024-531869.8 CRITICALksmbd: fix use-after-free in SMB request handling
CVE-2024-531699.8 CRITICALnvme-fabrics: fix kernel crash while shutting down controller
CVE-2024-566459.8 CRITICALcan: j1939: j1939_session_new(): fix skb reference counting
CVE-2024-566569.8 CRITICALbnxt_en: Fix aggregation ID mask to prevent oops on 5760X chips
CVE-2024-531799.8 CRITICALsmb: client: fix use-after-free of signing key
CVE-2024-532099.8 CRITICALbnxt_en: Fix receive ring space parameters when XDP is active
CVE-2024-532069.8 CRITICALtcp: Fix use-after-free of nreq in reqsk_timer_handler().
CVE-2024-566409.8 CRITICALnet/smc: fix LGR and link use-after-free issue
CVE-2024-531769.8 CRITICALsmb: During unmount, ensure all cached dir instances drop their dentry
CVE-2024-531779.8 CRITICALsmb: prevent use-after-free due to open_cached_dir error paths
CVE-2024-565918.8 HIGHBluetooth: hci_conn: Use disable_delayed_work_sync
CVE-2024-566268.8 HIGHksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write
CVE-2024-566698.8 HIGHiommu/vt-d: Remove cache tags before disabling ATS
CVE-2024-532378.8 HIGHBluetooth: fix use-after-free in device_for_each_child()
CVE-2024-532248.8 HIGHRDMA/mlx5: Move events notifier registration to be after device registration
CVE-2024-566518.8 HIGHcan: hi311x: hi3110_can_ist(): fix potential use-after-free
CVE-2024-566538.8 HIGHBluetooth: btmtk: avoid UAF in btmtk_process_coredump
CVE-2024-566278.1 HIGHksmbd: fix Out-of-Bounds Read in ksmbd_vfs_stream_read
CVE-2024-565387.8 HIGHdrm: zynqmp_kms: Unplug DRM device before removal
CVE-2024-566247.8 HIGHiommufd: Fix out_fput in iommufd_fault_alloc()

Showing top 20 of 221 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-53167

No comments yet


Leave a comment