We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-49855

nbd: fix race between timeout and normal completion



Description

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.

Reserved 2024-10-21 | Published 2024-10-21 | Updated 2024-12-19 | Assigner Linux

Product status

Default status
unaffected

2895f1831e911ca87d4efdf43e35eb72a0c7e66e before 9c25faf72d780a9c71081710cd48759d61ff6e9b
affected

2895f1831e911ca87d4efdf43e35eb72a0c7e66e before 6e73b946a379a1dfbb62626af93843bdfb53753d
affected

2895f1831e911ca87d4efdf43e35eb72a0c7e66e before 5236ada8ebbd9e7461f17477357582f5be4f46f7
affected

2895f1831e911ca87d4efdf43e35eb72a0c7e66e before 9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc
affected

2895f1831e911ca87d4efdf43e35eb72a0c7e66e before c9ea57c91f03bcad415e1a20113bdb2077bcf990
affected

Default status
affected

5.19
affected

Any version before 5.19
unaffected

6.1.113
unaffected

6.6.54
unaffected

6.10.13
unaffected

6.11.2
unaffected

6.12
unaffected

References

git.kernel.org/...c/9c25faf72d780a9c71081710cd48759d61ff6e9b

git.kernel.org/...c/6e73b946a379a1dfbb62626af93843bdfb53753d

git.kernel.org/...c/5236ada8ebbd9e7461f17477357582f5be4f46f7

git.kernel.org/...c/9a74c3e6c0d686c26ba2aab66d15ddb89dc139cc

git.kernel.org/...c/c9ea57c91f03bcad415e1a20113bdb2077bcf990

cve.org (CVE-2024-49855)

nvd.nist.gov (CVE-2024-49855)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-49855

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.