GHSA-57W3-FCRJ-PVP2
Vulnerability from github – Published: 2026-12-03 06:30 – Updated: 2026-12-03 06:30In 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: __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 Modules linked in:
{
"affected": [],
"aliases": [
"CVE-2026-142807"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-12-03T04:18:14Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: publish the filecheck owner before adding sysfs attributes\n\nocfs2_filecheck_create_sysfs() initializes the filecheck allocation before\ncalling kobject_init_and_add(), but assigns entry-\u003efs_fcheck only after\nthat call returns. The default attribute group can already be visible\nwhile registration is in progress. A concurrent read can therefore enter\nocfs2_filecheck_attr_show() with a NULL fs_fcheck and try to lock its\nfc_lock.\n\nAssign the initialized owner before adding the kobject, so every activated\nattribute has valid state. Clear the pointer when addition fails,\npreserving the existing teardown guard and error cleanup.\n\nA controlled probe-instrumented test kernel with the original OCFS2\nregistration ordering produced this Oops during a concurrent sysfs read:\n\n KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]\n RIP: 0010:kasan_byte_accessible+0x15/0x30\n Call Trace:\n \u003cTASK\u003e\n __kasan_check_byte+0x13/0x50\n lock_acquire+0x113/0x300\n _raw_spin_lock+0x31/0x40\n ocfs2_filecheck_attr_show+0x138/0x5f0\n ocfs2_filecheck_show+0x5d/0x90\n sysfs_kf_seq_show+0x1d3/0x360\n seq_read_iter+0x480/0x1110\n kernfs_fop_read_iter+0x419/0x5a0\n vfs_read+0x7d2/0xc20\n ksys_read+0x111/0x200\n do_syscall_64+0x114/0x620\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n \u003c/TASK\u003e\n Modules linked in:",
"id": "GHSA-57w3-fcrj-pvp2",
"modified": "2026-12-03T06:30:34Z",
"published": "2026-12-03T06:30:34Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142807"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/21b520d7a19ee3a5b64d2a3e914993fe653a22a2"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/5f2ead17963c71d94d643d2a203bd6c0a33108fc"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/6132073655e826052562f90f939f532aac6fbafe"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/6d2fac4a7838bbb617982cbf3d8352e7f9eedd5c"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/cb5303cfe9bc86237f84660994b503c1b9faffb0"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/d764d3f28a38deafe2980f6671764968dcdb9bc5"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e062baf5680845705d21df415c8f0751c96b0792"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e96d76f82701213fd2f14660b786f9f82f1d0dc7"
}
],
"schema_version": "1.4.0",
"severity": []
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.