Review reviewHigh

CVE-2022-50432

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: kernfs: fix use-after-free in __kernfs_remove Syzkaller managed to trigger concurrent calls to kernfs_remove_by_name_ns() for the same file resulting in a KASAN detected use-after-free. The race occurs when the root node is freed during kernfs_drain(). To prevent this acquire an additional reference for the root of the tree that is removed before calling __kernfs_remove(). Found by syzkaller with the following reproducer (slab_nomerge is required): syz_mount_image$ext4(0x0, &(0x7f0000000100)='./file0\x00', 0x100000, 0x0, 0x...

CVSS
7.8
EPSS
0.15%
4.72% percentile
CISA KEV
Not listed
Published
2025.10.01
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

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

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: kernfs: fix use-after-free in __kernfs_remove Syzkaller managed to trigger concurrent calls to kernfs_remove_by_name_ns() for the same file resulting in a KASAN detected use-after-free. The race occurs when the root node is freed during kernfs_drain(). To prevent this acquire an additional reference for the root of the tree that is removed before calling __kernfs_remove(). Found by syzkaller with the following reproducer (slab_nomerge is required): syz_mount_image$ext4(0x0, &(0x7f0000000100)='./file0\x00', 0x100000, 0x0, 0x...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 45a140e587f3d32d8d424ed940dffb61e1739047 < 4dfd6a477a1525773469feaf3c514b2c0fef76b5, >= 45a140e587f3d32d8d424ed940dffb61e1739047 < 02eb35131050735332658029082f61515b7dfe38, >= 45a140e587f3d32d8d424ed940dffb61e1739047 < 028cf780743eea79abffa7206b9dcfc080ad3546, >= 45a140e587f3d32d8d424ed940dffb61e1739047 < c78b0dc6fb7fb389d674e491fd376388cdfb1d53, >= 45a140e587f3d32d8d424ed940dffb61e1739047 < 6f72a3977ba9d0e5491a5c01315204272e7f9c44, >= 45a140e587f3d32d8d424ed940dffb61e1739047 < 94d2643df1e70a4c310ebb5e2c493eec33df1a06, >= 45a140e587f3d32d8d424ed940dffb61e1739047 < af1b57cc39beca203559576b3046094fc9e5eb32, >= 45a140e587f3d32d8d424ed940dffb61e1739047 < 4abc99652812a2ddf932f137515d5c5a04723538, >= 3.14, >= 3.14 < 4.9.332, >= 4.10 < 4.14.298, >= 4.15 < 4.19.264, >= 4.20 < 5.4.223, >= 5.5 < 5.10.153, >= 5.11 < 5.15.77, >= 5.16 < 6.0.7
Fixed versions
4.9.332, 4.14.298, 4.19.264, 5.4.223, 5.10.153, 5.15.77, 6.0.7

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-416
CVE-2022-50432 — Linux Linux, linux kernel | SECUFOCUS NOW