Review reviewCritical

CVE-2024-53177

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: smb: prevent use-after-free due to open_cached_dir error paths If open_cached_dir() encounters an error parsing the lease from the server, the error handling may race with receiving a lease break, resulting in open_cached_dir() freeing the cfid while the queued work is pending. Update open_cached_dir() to drop refs rather than directly freeing the cfid. Have cached_dir_lease_break(), cfids_laundromat_worker(), and invalidate_all_cached_dirs() clear has_lease immediately while still holding cfids->cfid_list_lock, and then us...

CVSS
9.8
EPSS
-
- percentile
CISA KEV
Not listed
Published
2024.12.27
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability-
Technical severityCVSS 9.8

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: smb: prevent use-after-free due to open_cached_dir error paths If open_cached_dir() encounters an error parsing the lease from the server, the error handling may race with receiving a lease break, resulting in open_cached_dir() freeing the cfid while the queued work is pending. Update open_cached_dir() to drop refs rather than directly freeing the cfid. Have cached_dir_lease_break(), cfids_laundromat_worker(), and invalidate_all_cached_dirs() clear has_lease immediately while still holding cfids->cfid_list_lock, and then us...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 93877b9afc2994c89362007aac480a7b150f386f < 791f833053578b9fd24252ebb7162a61bc3f805b, >= 5c86919455c1edec99ebd3338ad213b59271a71b < 97e2afcac0bebfef6a5360f4267ce4c44507b845, >= 5c86919455c1edec99ebd3338ad213b59271a71b < 47655a12c6b1bca8fa230085eab2e85a076932b7, >= 5c86919455c1edec99ebd3338ad213b59271a71b < a9685b409a03b73d2980bbfa53eb47555802d0a9, >= 6db94d08359c43f2c8fe372811cdee04564a41b9, >= 6.6.3 < 6.6.64, >= 6.5.13 < 6.6, >= 6.7, < 6.6.64, >= 6.7 < 6.11.11, >= 6.12 < 6.12.2
Fixed versions
6.6.64, 6.11.11, 6.12.2

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:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416
CVE-2024-53177 — Linux Linux, linux kernel | SECUFOCUS NOW