Security mailing lists by PureSourceCode

CVE-2026-138926

HIGH 7.1CVSS 3.1

dm: fix a bug in dm_accept_partial_bio

In the Linux kernel, the following vulnerability has been resolved:

dm: fix a bug in dm_accept_partial_bio

dm-writecache doesn't work in pmem mode - mkfs.ext4 and the following
fsck.ext4 fail with data corruption reported.

The commit 7dd76d1feec7 ("dm: improve bio splitting and associated IO
accounting") introduced a latent bug in dm_accept_partial_bio - it set
tio->io->sectors = n_sectors;. This is incorrect, according to the
diagram in the source code at dm_accept_partial_bio, it should be the
size of regions 1+2, not the region 2 alone.

The latent bug become real bug with the commit 8b211aaccb91 ("dm: add two
stage requeue mechanism").

dm-writecache in pmem mode is the only target that actually advances bio
with bio_advance and then calls dm_accept_partial_bio (so, the region 1
is non-empty). All the other targets call dm_accept_partial_bio with
region 1 empty, so bug went unnoticed for so long.

Published
30 Nov 2026
Last modified
1 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 8b211aaccb915bbf4f4a68f1910c4de701df393b, < 423436c324664aa98dcfca2042832eba3a9c746d; >= 8b211aaccb915bbf4f4a68f1910c4de701df393b, < 182b0763365ddf3a7254a6df7a125ebb361499a2; >= 8b211aaccb915bbf4f4a68f1910c4de701df393b, < ae3cf25c6fbed9ad71d5cdb5409d0f5f9bdd9d51; >= 8b211aaccb915bbf4f4a68f1910c4de701df393b, < affc1ebd65f517897f1c092fb87f2c42f0fc41f5; >= 8b211aaccb915bbf4f4a68f1910c4de701df393b, < 16802c8e3d7f63833f8bb96d159450544c529e50; >= 8b211aaccb915bbf4f4a68f1910c4de701df393b, < a279804752e6c767b7f9ecbb32a15bdfd2b80aea 423436c324664aa98dcfca2042832eba3a9c746d, 182b0763365ddf3a7254a6df7a125ebb361499a2, ae3cf25c6fbed9ad71d5cdb5409d0f5f9bdd9d51, affc1ebd65f517897f1c092fb87f2c42f0fc41f5, 16802c8e3d7f63833f8bb96d159450544c529e50, a279804752e6c767b7f9ecbb32a15bdfd2b80aea
CVE List Linux Linux = 6.0

References

History

  • 1 Dec 2026 06:48 UTC · NVD: scored 7.1
  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.