In the Linux kernel, the following vulnerability has been resolved: ceph: bound name skips in ceph_mdsmap_decode() by the message end ceph_mdsmap_de...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12linux |
All versions→ Not listed |
Not listed |
| Debian:13linux |
< 6.12.117-1→ 6.12.117-1 |
6.12.117-1 |
| Debian:14linux |
< 7.3.4-1→ 7.3.4-1 |
7.3.4-1 |
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved: ceph: bound name skips in ceph_mdsmap_decode() by the message end ceph_mdsmap_decode() reads two remote u32 name lengths and advances its parser cursor without checking that either string remains in the message. On a 32-bit client, a sufficiently large length can wrap the cursor below end. The following numerical bounds check then succeeds and dereferences the wrapped address. Use ceph_decode_skip_n() for both names so the remaining bytes are checked before the cursor advances. The issue produced a page fault in ceph_mdsmap_decode twice on the tested i386 baseline. The same frame was rejected without a fault twice after this change, while a normal MDSMap continued to be accepted.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org