dm-crypt: don't modify the data when using authenticated encryption
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0dccbb93538fe89a86c6de31d4b1c8c560848eaa, Kernel 1a4371db68a31076afbe56ecce34fbbe6c80c529, Kernel 3c652f6fa1e1f9f02c3fbf359d260ad153ec5f90 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: dm-crypt: don't modify the data when using authenticated encryption It was said that authenticated encryption could produce invalid tag when the data that is being encrypted is modified [1]. So, fix this problem by copying the data into the clone bio first and then encrypt them inside the clone bio. This may reduce performance, but it is needed to prevent the user from corrupting the device by writing data with O_DIRECT and modifying them at the same time. [1] https://lore.kernel.org/all/20240207004723.GA35324@sol.localdomain/T/
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.12, >=ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 <0dccbb93538fe89a86c6de31d4b1c8c560848eaa, >=ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 <1a4371db68a31076afbe56ecce34fbbe6c80c529, >=ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 <3c652f6fa1e1f9f02c3fbf359d260ad153ec5f90, >=ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 <43a202bd552976497474ae144942e32cc5f34d7e, >=ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 <50c70240097ce41fe6bce6478b80478281e4d0f7, >=ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 <64ba01a365980755732972523600a961c4266b75, >=ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 <d9e3763a505e50ba3bd22846f2a8db99429fb857, >=ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 <e08c2a8d27e989f0f5b0888792643027d7e691e6 | 0dccbb93538fe89a86c6de31d4b1c8c560848eaa, 1a4371db68a31076afbe56ecce34fbbe6c80c529, 3c652f6fa1e1f9f02c3fbf359d260ad153ec5f90, 43a202bd552976497474ae144942e32cc5f34d7e, 50c70240097ce41fe6bce6478b80478281e4d0f7, 64ba01a365980755732972523600a961c4266b75, d9e3763a505e50ba3bd22846f2a8db99429fb857, e08c2a8d27e989f0f5b0888792643027d7e691e6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket