Review reviewHigh

CVE-2024-49855

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: nbd: fix race between timeout and normal completion If request timetout is handled by nbd_requeue_cmd(), normal completion has to be stopped for avoiding to complete this requeued request, other use-after-free can be triggered. Fix the race by clearing NBD_CMD_INFLIGHT in nbd_requeue_cmd(), meantime make sure that cmd->lock is grabbed for clearing the flag and the requeue.

CVSS
7
EPSS
-
- percentile
CISA KEV
Not listed
Published
2024.10.21
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability-
Technical severityCVSS 7

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: nbd: fix race between timeout and normal completion If request timetout is handled by nbd_requeue_cmd(), normal completion has to be stopped for avoiding to complete this requeued request, other use-after-free can be triggered. Fix the race by clearing NBD_CMD_INFLIGHT in nbd_requeue_cmd(), meantime make sure that cmd->lock is grabbed for clearing the flag and the requeue.

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e < 9c25faf72d780a9c71081710cd48759d61ff6e9b, >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e < 6e73b946a379a1dfbb62626af93843bdfb53753d, >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e < 5236ada8ebbd9e7461f17477357582f5be4f46f7, >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e < 9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc, >= 2895f1831e911ca87d4efdf43e35eb72a0c7e66e < c9ea57c91f03bcad415e1a20113bdb2077bcf990, >= cdf62c535a9bfd5ff0eef4b91669da39d8abc0c3, >= 5171ef20bae852ff38f4cfdb368bcdcc744776d0, >= 5.17.15 < 5.18, >= 5.18.4 < 5.19, >= 5.19, >= 5.19 < 6.1.113, >= 6.2 < 6.6.54, >= 6.7 < 6.10.13, >= 6.11 < 6.11.2, 5.17.15
Fixed versions
5.19, 6.1.113, 6.6.54, 6.10.13, 6.11.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:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416
CVE-2024-49855 — Linux Linux, linux kernel | SECUFOCUS NOW