{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142807",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.330Z",
        "datePublished": "2026-12-03T03:11:34.238Z",
        "dateUpdated": "2026-12-03T03:11:34.238Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T03:11:34.238Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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->fs_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   <TASK>\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   </TASK>\n  Modules linked in:"
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/ocfs2/filecheck.c"
                    ],
                    "versions": [
                        {
                            "version": "5f483c4abb507d068b326f24e4ea3481db9cda06",
                            "lessThan": "e96d76f82701213fd2f14660b786f9f82f1d0dc7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5f483c4abb507d068b326f24e4ea3481db9cda06",
                            "lessThan": "21b520d7a19ee3a5b64d2a3e914993fe653a22a2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5f483c4abb507d068b326f24e4ea3481db9cda06",
                            "lessThan": "5f2ead17963c71d94d643d2a203bd6c0a33108fc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5f483c4abb507d068b326f24e4ea3481db9cda06",
                            "lessThan": "6d2fac4a7838bbb617982cbf3d8352e7f9eedd5c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5f483c4abb507d068b326f24e4ea3481db9cda06",
                            "lessThan": "6132073655e826052562f90f939f532aac6fbafe",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5f483c4abb507d068b326f24e4ea3481db9cda06",
                            "lessThan": "d764d3f28a38deafe2980f6671764968dcdb9bc5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5f483c4abb507d068b326f24e4ea3481db9cda06",
                            "lessThan": "cb5303cfe9bc86237f84660994b503c1b9faffb0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5f483c4abb507d068b326f24e4ea3481db9cda06",
                            "lessThan": "e062baf5680845705d21df415c8f0751c96b0792",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/ocfs2/filecheck.c"
                    ],
                    "versions": [
                        {
                            "version": "4.17",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.17",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.117",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.61",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.2",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.17",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.17",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.17",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.17",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.17",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.17",
                                    "versionEndExcluding": "6.18.61"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.17",
                                    "versionEndExcluding": "7.3.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.17",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/e96d76f82701213fd2f14660b786f9f82f1d0dc7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/21b520d7a19ee3a5b64d2a3e914993fe653a22a2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5f2ead17963c71d94d643d2a203bd6c0a33108fc"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6d2fac4a7838bbb617982cbf3d8352e7f9eedd5c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6132073655e826052562f90f939f532aac6fbafe"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d764d3f28a38deafe2980f6671764968dcdb9bc5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/cb5303cfe9bc86237f84660994b503c1b9faffb0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e062baf5680845705d21df415c8f0751c96b0792"
                }
            ],
            "title": "ocfs2: publish the filecheck owner before adding sysfs attributes",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}