ceph: supply snapshot context in ceph_zero_partial_object()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.252, Kernel 5.15.202, Kernel 6.1.165 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: ceph: supply snapshot context in ceph_zero_partial_object() The ceph_zero_partial_object function was missing proper snapshot context for its OSD write operations, which could lead to data inconsistencies in snapshots. Reproducer: ../src/vstart.sh --new -x --localhost --bluestore ./bin/ceph auth caps client.fs_a mds 'allow rwps fsname=a' mon 'allow r fsname=a' osd 'allow rw tag cephfs data=a' mount -t ceph fs_a@.a=/ /mnt/mycephfs/ -o conf=./ceph.conf dd if=/dev/urandom of=/mnt/mycephfs/foo bs=64K count=1 mkdir /mnt/mycephfs/.snap/snap1 md5sum /mnt/mycephfs/.snap/snap1/foo fallocate -p -o 0 -l 4096 /mnt/mycephfs/foo echo 3 > /proc/sys/vm/drop/caches md5sum /mnt/mycephfs/.snap/snap1/foo # get different md5sum!!
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3.12 <5.10.252, >=5.11 <5.15.202, >=5.16 <6.1.165, >=6.13 <6.18.16, >=6.19 <6.19.6, >=6.2 <6.6.128, >=6.7 <6.12.75, >=ad7a60de882aca31afb58721db166f7e77afcd92 <4097e70fc543cca72982854108a32f6ae924e727, >=ad7a60de882aca31afb58721db166f7e77afcd92 <531a76c5a2e44264cee8a70121e63eb28c1ba728, >=ad7a60de882aca31afb58721db166f7e77afcd92 <5788b742007f53406049bef917833a71ddd43f60, >=ad7a60de882aca31afb58721db166f7e77afcd92 <69e59a87bab0ea31ab2a584fc65e12dafacf8953, >=ad7a60de882aca31afb58721db166f7e77afcd92 <757873abfc8ea38592582180aed0f57f0f0cb07a, >=ad7a60de882aca31afb58721db166f7e77afcd92 <9efa154609cdb658f51c7d76b30a09f7e6485250, >=ad7a60de882aca31afb58721db166f7e77afcd92 <f16bd3fa74a2084ee7e16a8a2be7e7399b970907, =3.12, >=ad7a60de882aca31afb58721db166f7e77afcd92 <36673344b41c31fb502dd0d0113cec1aa96f581e | 5.10.252, 5.15.202, 6.1.165, 6.18.16, 6.19.6, 6.6.128, 6.12.75, 4097e70fc543cca72982854108a32f6ae924e727, 531a76c5a2e44264cee8a70121e63eb28c1ba728, 5788b742007f53406049bef917833a71ddd43f60, 69e59a87bab0ea31ab2a584fc65e12dafacf8953, 757873abfc8ea38592582180aed0f57f0f0cb07a, 9efa154609cdb658f51c7d76b30a09f7e6485250, f16bd3fa74a2084ee7e16a8a2be7e7399b970907, 36673344b41c31fb502dd0d0113cec1aa96f581e |
| linux-kernel: Kernel | >=3.12.0 <5.10.252, >=5.11.0 <5.15.202, >=5.16.0 <6.1.165, >=6.13.0 <6.18.16, >=6.19.0 <6.19.6, >=6.2.0 <6.6.128, >=6.7.0 <6.12.75 | 5.10.252, 5.15.202, 6.1.165, 6.18.16, 6.19.6, 6.6.128, 6.12.75 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket