cifs: call pagecache_isize_extended() in cifs_setsize() when extending (Linux Linux)

CVE-2026-89642
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: cifs: call pagecache_isize_extended() in cifs_setsize() when extending cifs_setsize() calls truncate_pagecache() but skips pagecache_isize_extended() on extension. truncate_setsize() shows the correct pattern: i_size_write(inode, newsize); if (newsize > oldsize) pagecache_isize_extended(inode, oldsize, newsize); truncate_pagecache(inode, newsize); pagecache_isize_extended() zeroes the tail of the page straddling old EOF. Without it, dirty bytes in that region can be written back to the server, exposing stale data in the newly extended range.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 880e1b5883a5d78d916fa446791c48f28a16719b
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 5463d96cd2e46064ceefcf861b028745a4f4c373
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 40c16040783abcc240bd1b453e679ea6ca30e19e
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < e1f692b6da3e632a25d0b3a99f833bb609bae1a3
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 12bafe32f09c0d24f5096154b59c347b9c6606e0
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < c510edb9734af1c274d18f4f31a471a166bbc7e8
Other versions : unaffected
Linux · Linux
affected : 2.6.12
unaffected : ≥ 0 < 2.6.12
unaffected : ≥ 6.1.191 ≤ 6.1.*
unaffected : ≥ 6.6.160 ≤ 6.6.*
unaffected : ≥ 6.12.114 ≤ 6.12.*
unaffected : ≥ 6.18.57 ≤ 6.18.*
unaffected : ≥ 7.2.4 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD