CVE-2026-142807

Not scored yetLast modified Dec 3, 2026

Description

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

ocfs2: publish the filecheck owner before adding sysfs attributes

ocfs2_filecheck_create_sysfs() initializes the filecheck allocation before calling kobject_init_and_add(), but assigns entry->fs_fcheck only after that call returns. The default attribute group can already be visible while registration is in progress. A concurrent read can therefore enter ocfs2_filecheck_attr_show() with a NULL fs_fcheck and try to lock its fc_lock.

Assign the initialized owner before adding the kobject, so every activated attribute has valid state. Clear the pointer when addition fails, preserving the existing teardown guard and error cleanup.

A controlled probe-instrumented test kernel with the original OCFS2 registration ordering produced this Oops during a concurrent sysfs read:

KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] RIP: 0010:kasan_byte_accessible+0x15/0x30 Call Trace: <TASK> __kasan_check_byte+0x13/0x50 lock_acquire+0x113/0x300 _raw_spin_lock+0x31/0x40 ocfs2_filecheck_attr_show+0x138/0x5f0 ocfs2_filecheck_show+0x5d/0x90 sysfs_kf_seq_show+0x1d3/0x360 seq_read_iter+0x480/0x1110 kernfs_fop_read_iter+0x419/0x5a0 vfs_read+0x7d2/0xc20 ksys_read+0x111/0x200 do_syscall_64+0x114/0x620 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK> Modules linked in:

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-142808In the Linux kernel, the following vulnerability has been resolved: HID: logitech-dj: validate unnumbered keyboard reports The HID core inCVE-2026-142809In the Linux kernel, the following vulnerability has been resolved: xfs: range-check bc_levels array access in scrub tracepoints LOLLM notCVE-2026-142819.8The Automation Web Platform – Notifications and OTP for WooCommerce, Advanced Country Code plugin for WordPress is vulnerable to Privilege ECVE-2026-142810In the Linux kernel, the following vulnerability has been resolved: ovl: check the casefold flag of directories only On an overlay over caCVE-2026-142811In the Linux kernel, the following vulnerability has been resolved: media: rc: Fix ABBA deadlock by making locks more fine grained The ir_CVE-2026-142812In the Linux kernel, the following vulnerability has been resolved: media: rc: fintek-cir: process a full RX buffer instead of overflowing CVE-2026-142813In the Linux kernel, the following vulnerability has been resolved: ksmbd: use the existing xattr name for a named stream SMB stream namesCVE-2026-142814In the Linux kernel, the following vulnerability has been resolved: ksmbd: retry break notifications on another connection An oplock or leCVE-2026-142815In the Linux kernel, the following vulnerability has been resolved: ksmbd: track delivery of queued TCP writes A nonblocking break send muCVE-2026-142816In the Linux kernel, the following vulnerability has been resolved: HID: hid-lenovo-go-s: Use devm_kzalloc for drvdata Changes drvdata froCVE-2026-142817In the Linux kernel, the following vulnerability has been resolved: fork: move the coredump and exec checks into create_io_thread() Only aCVE-2026-142818In the Linux kernel, the following vulnerability has been resolved: ns: don't add init_ipc_ns and init_net without namespace support When
CVE-2026-142807: Unscored | Vulnix