net: ieee802154: do not leave a dangling sk pointer in ieee802154_create()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 9ec7671603573ede31207eb5b0b3e1aa211b2854 · < 03caa9bfb9fde97fb53d33decd7364514e6825cb| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: ieee802154: do not leave a dangling sk pointer in ieee802154_create()
sock_init_data() attaches the allocated sk object to the provided sock object. If ieee802154_create() fails later, the allocated sk object is freed, but the dangling pointer remains in the provided sock object, which may allow use-after-free.
Clear the sk pointer in the sock object on error.
From the CVE record · Linux
In the Linux kernel, ieee802154_create() can leave a dangling socket pointer if socket creation fails after the sk object is attached. This may allow a use-after-free; the input does not specify attacker access requirements or whether user interaction is needed.
Engineers running the Linux kernel should check their systems; affected versions are not specified.