Review reviewHigh

CVE-2022-48919

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: cifs: fix double free race when mount fails in cifs_get_root() When cifs_get_root() fails during cifs_smb3_do_mount() we call deactivate_locked_super() which eventually will call delayed_free() which will free the context. In this situation we should not proceed to enter the out: section in cifs_smb3_do_mount() and free the same resources a second time. [Thu Feb 10 12:59:06 2022] BUG: KASAN: use-after-free in rcu_cblist_dequeue+0x32/0x60 [Thu Feb 10 12:59:06 2022] Read of size 8 at addr ffff888364f4d110 by task swapper/1/0...

CVSS
7.8
EPSS
0.47%
38.1% percentile
CISA KEV
Not listed
Published
2024.08.22
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.47%
Technical severityCVSS 7.8

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: cifs: fix double free race when mount fails in cifs_get_root() When cifs_get_root() fails during cifs_smb3_do_mount() we call deactivate_locked_super() which eventually will call delayed_free() which will free the context. In this situation we should not proceed to enter the out: section in cifs_smb3_do_mount() and free the same resources a second time. [Thu Feb 10 12:59:06 2022] BUG: KASAN: use-after-free in rcu_cblist_dequeue+0x32/0x60 [Thu Feb 10 12:59:06 2022] Read of size 8 at addr ffff888364f4d110 by task swapper/1/0...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= d17abdf7566566fc402c31899b353044a7ff3cf4 < 546d60859ecf13380fcabcbeace53a5971493a2b, >= d17abdf7566566fc402c31899b353044a7ff3cf4 < 563431c1f3c8f2230e4a9c445fa23758742bc4f0, >= d17abdf7566566fc402c31899b353044a7ff3cf4 < 3d6cc9898efdfb062efb74dc18cfc700e082f5d5, >= 5.11, < 4.9.305, >= 4.10 < 4.14.270, >= 4.15 < 4.19.233, >= 4.20 < 5.4.183, >= 5.5 < 5.10.104, >= 5.11 < 5.15.27, >= 5.16 < 5.16.13
Fixed versions
4.9.305, 4.14.270, 4.19.233, 5.4.183, 5.10.104, 5.15.27, 5.16.13

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-415
CVE-2022-48919 — Linux Linux, linux kernel | SECUFOCUS NOW