Description
In the Linux kernel, the following vulnerability has been resolved:
net: qrtr: Avoid potential use after free in MHI send
It is possible that the MHI ul_callback will be invoked immediately following the queueing of the skb for transmission, leading to the callback decrementing the refcount of the associated sk and freeing the skb.
As such the dereference of skb and the increment of the sk refcount must happen before the skb is queued, to avoid the skb to be used after free and potentially the sk to drop its last refcount..
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 6e728f321393b1fce9e1c2c3e55f9f7c15991321, < 48ec949ac979b4b42d740f67b6177797af834f80; >= 6e728f321393b1fce9e1c2c3e55f9f7c15991321, < ea474054c2cc6e1284604b21361f475c7cc8c0a0; >= 6e728f321393b1fce9e1c2c3e55f9f7c15991321, < 03c649dee8b1eb5600212a249542a70f47a5ab40; >= 6e728f321393b1fce9e1c2c3e55f9f7c15991321, < 47a017f33943278570c072bc71681809b2567b3a |
| Linux | Linux | 5.8 |
| linux | linux_kernel | >= 6e728f321393, < 48ec949ac979; >= 6e728f321393, < ea474054c2cc; >= 6e728f321393, <= 03c649dee8b1; >= 6e728f321393, < 47a017f33943; 5.8 |
References
- https://git.kernel.org/stable/c/03c649dee8b1eb5600212a249542a70f47a5ab40Patch
- https://git.kernel.org/stable/c/47a017f33943278570c072bc71681809b2567b3aPatch
- https://git.kernel.org/stable/c/48ec949ac979b4b42d740f67b6177797af834f80Patch
- https://git.kernel.org/stable/c/ea474054c2cc6e1284604b21361f475c7cc8c0a0Patch
- https://git.kernel.org/stable/c/03c649dee8b1eb5600212a249542a70f47a5ab40Patch
- https://git.kernel.org/stable/c/47a017f33943278570c072bc71681809b2567b3aPatch
- https://git.kernel.org/stable/c/48ec949ac979b4b42d740f67b6177797af834f80Patch
- https://git.kernel.org/stable/c/ea474054c2cc6e1284604b21361f475c7cc8c0a0Patch
Timeline
- Published
- Feb 27, 2024
- Last modified
- Aug 4, 2026
- NVD status
- Modified