CVE-2026-143200
not scored yeterofs: reset buf->off in erofs_init_metabuf()
In the Linux kernel, the following vulnerability has been resolved:
erofs: reset buf->off in erofs_init_metabuf()
erofs_init_metabuf() sets buf->off only for the block device and keeps
the old value when it switches to the metabox or the managed cache.
erofs_bread() adds buf->off to every offset, so the result depends on
how the buffer was last initialized.
getxattr and listxattr init the same buffer twice, for the inline and
the shared xattrs, with in_metabox taken from different places. On a
block device mount with fsoffset=, if the inode is outside the metabox
and COMPAT_SHARED_EA_IN_METABOX is set, the shared xattrs are read at
their metabox offset plus fsoffset. The same image mounted file-backed
returns the right values.
Reset buf->off on every init.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 414091322c6363c9283aeb177101e4d7a3819ccd, < fb69f73f5897a95bde6a0a67c7c99ed5a5e2303b; >= 414091322c6363c9283aeb177101e4d7a3819ccd, < 8b4ddd28ec5bdec14cefc57f8bf792cb4764d724 | fb69f73f5897a95bde6a0a67c7c99ed5a5e2303b, 8b4ddd28ec5bdec14cefc57f8bf792cb4764d724 |
| CVE List | Linux | Linux | = 6.17 |
References
- https://git.kernel.org/stable/c/8b4ddd28ec5bdec14cefc57f8bf792cb4764d724
- https://git.kernel.org/stable/c/fb69f73f5897a95bde6a0a67c7c99ed5a5e2303b
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)