of/overlay: put property on deadprops only after changeset add succeeds
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f6f70b12ae3e4074e4cd3f42cd66fd482ce7a4b5, Kernel 4.20, Kernel 004a0ee2e5315f1245775b369fcb940e8cda3807 and 13 more.
In the Linux kernel, the following vulnerability has been resolved: of/overlay: put property on deadprops only after changeset add succeeds add_changeset_property() links a new property of a not-yet-live target node into the node's deadprops list before handing it to of_changeset_add_property(). If that fails, the error path frees the property but leaves the freed pointer linked in deadprops, and of_node_release() frees it a second time when the aborted overlay's node is released. Record the changeset entry first and link the property into deadprops only on success. of_changeset_add_property() never looks at the node's property lists, so the order of the two steps is otherwise immaterial, and the error path frees a property that nothing references.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=f96278810150fc39085d1872e5b39ea06366d03e <f6f70b12ae3e4074e4cd3f42cd66fd482ce7a4b5, >=4.19.49 <4.20, >=f96278810150fc39085d1872e5b39ea06366d03e <004a0ee2e5315f1245775b369fcb940e8cda3807, >=f96278810150fc39085d1872e5b39ea06366d03e <50c3663790c61648a51f197970f660fd543269a7, >=f96278810150fc39085d1872e5b39ea06366d03e <5857035a3b53a4e7b5a0d5a740189901ece0b079, >=f96278810150fc39085d1872e5b39ea06366d03e <7dc6a769153c0457077a0da4888a00f61e66de15, >=f96278810150fc39085d1872e5b39ea06366d03e <814f2da6995772c07a7c9c2cc6028b6e3f3ecc9c, >=f96278810150fc39085d1872e5b39ea06366d03e <936f1ffcb87a1c50938a21176a6463af162cf4b5, >=f96278810150fc39085d1872e5b39ea06366d03e <d5151496a0a2b19c9c0c7b0ebf86b3de55a8fa3a, =5.0, =b52ca352489be8beb7de3a8181509a0deaf72e21 | f6f70b12ae3e4074e4cd3f42cd66fd482ce7a4b5, 4.20, 004a0ee2e5315f1245775b369fcb940e8cda3807, 50c3663790c61648a51f197970f660fd543269a7, 5857035a3b53a4e7b5a0d5a740189901ece0b079, 7dc6a769153c0457077a0da4888a00f61e66de15, 814f2da6995772c07a7c9c2cc6028b6e3f3ecc9c, 936f1ffcb87a1c50938a21176a6463af162cf4b5, d5151496a0a2b19c9c0c7b0ebf86b3de55a8fa3a |
| linux-kernel: Kernel | >=5.0.0 <5.10.273, >=5.11.0 <5.15.224, >=5.16.0 <6.1.191, >=6.13.0 <6.18.56, >=6.19.0 <7.2.10, >=6.2.0 <6.6.160, >=6.7.0 <6.12.113, >=4.19.49 <4.20 | 5.10.273, 5.15.224, 6.1.191, 6.18.56, 7.2.10, 6.6.160, 6.12.113, 4.20 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket