Skip to main content
← All vulnerabilities
CVE-2024-49855

nbd: fix race between timeout and normal completion

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.18, 5.19
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 5.17.15 · fixed in 5.18; From 5.18.4 · fixed in 5.19

  • Linux Linux

    5.19

References 5

git.kernel.org