Description
In the Linux kernel, the following vulnerability has been resolved: uacce: fix cdev handling in the cleanup path When cdev_device_add fails, it internally releases the cdev memory, and if cdev_device_del is then executed, it will cause a hang error. To fix it, we check the return value of cdev_device_add() and clear uacce->cdev to avoid calling cdev_device_del in the uacce_remove.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
015d239ac0142ad0e26567fd890ef8d171f13709 to < c94c7188d325bc5137d447d67a2f18f7d4f2f4a3affected015d239ac0142ad0e26567fd890ef8d171f13709 to < 1bc3e51367c420e6db31f41efa874c7a8e12194aaffected015d239ac0142ad0e26567fd890ef8d171f13709 to < 819d647406200d0e83e56fd2df8f451b11290559affected015d239ac0142ad0e26567fd890ef8d171f13709 to < d9031575a2f8aabc53af3025dd79af313a2e046baffected015d239ac0142ad0e26567fd890ef8d171f13709 to < 98d67a1bd6caddd0a8b8c82a0b925742cf500936affected015d239ac0142ad0e26567fd890ef8d171f13709 to < bd2393ed7712513e7e2dbcb6e21464a67ff9e702affected015d239ac0142ad0e26567fd890ef8d171f13709 to < a3bece3678f6c88db1f44c602b2a63e84b4040acaffected
Linux Linux
Default version status: affected
5.7affected0 to < 5.7unaffected5.10.249 to ≤ 5.10.*unaffected5.15.199 to ≤ 5.15.*unaffected6.1.162 to ≤ 6.1.*unaffected6.6.122 to ≤ 6.6.*unaffected6.12.68 to ≤ 6.12.*unaffected6.18.8 to ≤ 6.18.*unaffected6.19 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/c94c7188d325bc5137d447d67a2f18f7d4f2f4a3 ↗
- https://git.kernel.org/stable/c/1bc3e51367c420e6db31f41efa874c7a8e12194a ↗
- https://git.kernel.org/stable/c/819d647406200d0e83e56fd2df8f451b11290559 ↗
- https://git.kernel.org/stable/c/d9031575a2f8aabc53af3025dd79af313a2e046b ↗
- https://git.kernel.org/stable/c/98d67a1bd6caddd0a8b8c82a0b925742cf500936 ↗
- https://git.kernel.org/stable/c/bd2393ed7712513e7e2dbcb6e21464a67ff9e702 ↗
- https://git.kernel.org/stable/c/a3bece3678f6c88db1f44c602b2a63e84b4040ac ↗