Linux
dm-integrity: fix a bug if the bio is out of limits
In the Linux kernel, the following vulnerability has been resolved: dm-integrity: fix a bug if the bio is out of limits If dm_integrity_check_limits fails, the code would exit with DM_MAPIO_KILL. However, the range would be already locked at this point, and it wouldn't be unlocked, resulting in a deadlock. Let's move the limit check up, so that when it exits, no resources are leaked.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= fb0987682c629c1d2c476f35f6fde405a5e304a4, < f7989286175f32db8605e767a1a2efc62e894dc8
- >= fb0987682c629c1d2c476f35f6fde405a5e304a4, < aa5113e7155f4ea81d2c0303ab5cb272d4b32627
- >= fb0987682c629c1d2c476f35f6fde405a5e304a4, < 3d1afaa074622859678b1a1e7c1b9c0af74c89b0
- >= fb0987682c629c1d2c476f35f6fde405a5e304a4, < 5a266764fadaff8b5c1fe37a186ebf9b09cb953e
Fixed in f7989286175f32db8605e767a1a2efc62e894dc8, aa5113e7155f4ea81d2c0303ab5cb272d4b32627, 3d1afaa074622859678b1a1e7c1b9c0af74c89b0, 5a266764fadaff8b5c1fe37a186ebf9b09cb953e
- 6.11
Fixed in 0, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to f7989286175f32db8605e767a1a2efc62e894dc8 or aa5113e7155f4ea81d2c0303ab5cb272d4b32627 or 3d1afaa074622859678b1a1e7c1b9c0af74c89b0 or 5a266764fadaff8b5c1fe37a186ebf9b09cb953e or later.
Upgrade Linux to 0 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.