staging: media: tegra-video: fix of_node_put() on VIP parse errors
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fc9937019cf7e2fe4e29f9341e6400bcd2cde721, Kernel 1295ba29ac590bbb5c4a586afd408018168af10b, Kernel 656d047dc0c29c0964d840217a0593f16aa9bc5e and 6 more.
In the Linux kernel, the following vulnerability has been resolved: staging: media: tegra-video: fix of_node_put() on VIP parse errors tegra_vip_channel_of_parse() initializes np from dev->of_node without taking a reference, but its error paths drop one through the err_node_put label. This underflows the refcount of the VIP device's OF node when endpoint parsing fails on a malformed device tree. The only reference the function takes on np is the success-path of_node_get() stored in vip->chan.of_node, and that one is already released by the tegra_vip_init() error path and by tegra_vip_exit(). Return errors directly instead of jumping to the bogus cleanup label.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=e740d199cf0ff1e53ddc2ab067c0a09b55845d68 <fc9937019cf7e2fe4e29f9341e6400bcd2cde721, >=e740d199cf0ff1e53ddc2ab067c0a09b55845d68 <1295ba29ac590bbb5c4a586afd408018168af10b, >=e740d199cf0ff1e53ddc2ab067c0a09b55845d68 <656d047dc0c29c0964d840217a0593f16aa9bc5e, >=e740d199cf0ff1e53ddc2ab067c0a09b55845d68 <7393372f79db940acff206b43e2905685a0c57ad, >=e740d199cf0ff1e53ddc2ab067c0a09b55845d68 <a3783800c9475fa58b8db0885893f96a23f949da, =6.5 | fc9937019cf7e2fe4e29f9341e6400bcd2cde721, 1295ba29ac590bbb5c4a586afd408018168af10b, 656d047dc0c29c0964d840217a0593f16aa9bc5e, 7393372f79db940acff206b43e2905685a0c57ad, a3783800c9475fa58b8db0885893f96a23f949da |
| linux-kernel: Kernel | >=6.19.0 <7.2.4, >=6.5.0 <6.6.157, >=6.7.0 <6.12.109, >=6.13.0 <6.18.50 | 7.2.4, 6.6.157, 6.12.109, 6.18.50 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket