Description
In the Linux kernel, the following vulnerability has been resolved: xfs: fix ilock leak on error in xfs_dq_get_next_id xfs_dq_get_next_id() takes the quota inode ILOCK before calling xfs_iread_extents(). If xfs_iread_extents() fails, the function returns immediately without releasing the lock, leaking the quota inode ILOCK. This can leave the quota inode locked and cause subsequent quota operations to hang. Fix this by jumping to a common unlock path on error instead of returning directly.
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
bda250dbaf39f67f8910e183853e4e6a9e5ce899 to < e4c05ebd01e910bccd4f7e9517c7353982e27763affectedbda250dbaf39f67f8910e183853e4e6a9e5ce899 to < 6401b99a285cd4cfb2949ba44675541b91ad7e4faffectedbda250dbaf39f67f8910e183853e4e6a9e5ce899 to < 0865e4fca02e418fd2423fae9a887dee87b778a1affectedbda250dbaf39f67f8910e183853e4e6a9e5ce899 to < ed8bfb43de71213cfdbbe833b2c2817250e18b1aaffectedbda250dbaf39f67f8910e183853e4e6a9e5ce899 to < e270d539b8a2e0cb8f617fee47a7b083c0088361affectedbda250dbaf39f67f8910e183853e4e6a9e5ce899 to < 514a5d42d4188fc5f1499a8d654c717ebf981193affectedbda250dbaf39f67f8910e183853e4e6a9e5ce899 to < 08bed2b67d2ee79d3e138c344d8dcfa4c9b26a38affectedbda250dbaf39f67f8910e183853e4e6a9e5ce899 to < 63320a0f70f66f311f4bccff3af0719c2119f46caffected
Linux Linux
Default version status: affected
4.13affected0 to < 4.13unaffected5.10.267 to ≤ 5.10.*unaffected5.15.217 to ≤ 5.15.*unaffected6.1.184 to ≤ 6.1.*unaffected6.6.153 to ≤ 6.6.*unaffected6.12.105 to ≤ 6.12.*unaffected6.18.46 to ≤ 6.18.*unaffected7.1.10 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/e4c05ebd01e910bccd4f7e9517c7353982e27763 ↗
- https://git.kernel.org/stable/c/6401b99a285cd4cfb2949ba44675541b91ad7e4f ↗
- https://git.kernel.org/stable/c/0865e4fca02e418fd2423fae9a887dee87b778a1 ↗
- https://git.kernel.org/stable/c/ed8bfb43de71213cfdbbe833b2c2817250e18b1a ↗
- https://git.kernel.org/stable/c/e270d539b8a2e0cb8f617fee47a7b083c0088361 ↗
- https://git.kernel.org/stable/c/514a5d42d4188fc5f1499a8d654c717ebf981193 ↗
- https://git.kernel.org/stable/c/08bed2b67d2ee79d3e138c344d8dcfa4c9b26a38 ↗
- https://git.kernel.org/stable/c/63320a0f70f66f311f4bccff3af0719c2119f46c ↗