CVE-2024-26604

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-26604
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26604.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-26604
Downstream
Published
2024-02-24T14:56:58Z
Modified
2025-10-15T08:48:30.961005Z
Summary
Revert "kobject: Remove redundant checks for whether ktype is NULL"
Details

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

Revert "kobject: Remove redundant checks for whether ktype is NULL"

This reverts commit 1b28cb81dab7c1eedc6034206f4e8d644046ad31.

It is reported to cause problems, so revert it for now until the root cause can be found.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1b28cb81dab7c1eedc6034206f4e8d644046ad31
Fixed
7f414d306320f837cc3df96cf52161cb8290fb1b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1b28cb81dab7c1eedc6034206f4e8d644046ad31
Fixed
b746d52ce7bcac325a2fa264216ead85b7fbbfaa
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1b28cb81dab7c1eedc6034206f4e8d644046ad31
Fixed
3ca8fbabcceb8bfe44f7f50640092fd8f1de375c

Affected versions

v6.*

v6.5
v6.5-rc5
v6.5-rc6
v6.5-rc7
v6.6
v6.6-rc1
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.6.1
v6.6.10
v6.6.11
v6.6.12
v6.6.13
v6.6.14
v6.6.15
v6.6.16
v6.6.17
v6.6.2
v6.6.3
v6.6.4
v6.6.5
v6.6.6
v6.6.7
v6.6.8
v6.6.9
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.7.1
v6.7.2
v6.7.3
v6.7.4
v6.7.5
v6.8-rc1
v6.8-rc2

Database specific

{
    "vanir_signatures": [
        {
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "lib/kobject.c",
                "function": "create_dir"
            },
            "id": "CVE-2024-26604-06723680",
            "digest": {
                "length": 479.0,
                "function_hash": "208975821239022576167464900908516258559"
            },
            "signature_version": "v1",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f414d306320f837cc3df96cf52161cb8290fb1b"
        },
        {
            "deprecated": false,
            "signature_type": "Line",
            "target": {
                "file": "lib/kobject.c"
            },
            "id": "CVE-2024-26604-0f9d7464",
            "digest": {
                "line_hashes": [
                    "141496694523089987043440402691056679610",
                    "118451875293603208434210245509773539841",
                    "201023737829225835462082909996529741677",
                    "146614430591929406205330828685038316394",
                    "319636124267746810387885789880236123701",
                    "315372356859989378717666138045672093115",
                    "335162980498397290315393429133742661859",
                    "182733869751812602648013356421326465338",
                    "29512800537322248897808443711472316161",
                    "312011452136357736219241162738354345165",
                    "62918182975505282879170438530927140197",
                    "252182279625408988945082001849051245900",
                    "335988010303578539170495051090690545907",
                    "101677620158091324510301611061144144063",
                    "87712020698649404432068507444658002753",
                    "121458473497869073677789164530401436128",
                    "75982250973705576945386157340546982027",
                    "338961484874989042180338155505797249710",
                    "149134889045937192916713463124568850871",
                    "11557885755083526231867527694428292786",
                    "98663570037970893760822007185724586138",
                    "257530945928422448784335334760572831778",
                    "40117681590431318730987787206948432945",
                    "2196764042347214917070022092299978035",
                    "195699856178394571252867408360540551592",
                    "44649517922962272670564976807137948440",
                    "161464949428069900762815390038958890622",
                    "59709548416616405465769239604612809071"
                ],
                "threshold": 0.9
            },
            "signature_version": "v1",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f414d306320f837cc3df96cf52161cb8290fb1b"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "lib/kobject.c",
                "function": "__kobject_del"
            },
            "id": "CVE-2024-26604-1f4e9671",
            "digest": {
                "length": 489.0,
                "function_hash": "128205967867903681088368912834209098000"
            },
            "signature_version": "v1",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ca8fbabcceb8bfe44f7f50640092fd8f1de375c"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "lib/kobject.c",
                "function": "kobject_cleanup"
            },
            "id": "CVE-2024-26604-40f27da7",
            "digest": {
                "length": 813.0,
                "function_hash": "328643263703410624446876678463098659982"
            },
            "signature_version": "v1",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b746d52ce7bcac325a2fa264216ead85b7fbbfaa"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "lib/kobject.c",
                "function": "kobject_cleanup"
            },
            "id": "CVE-2024-26604-414d322f",
            "digest": {
                "length": 813.0,
                "function_hash": "328643263703410624446876678463098659982"
            },
            "signature_version": "v1",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f414d306320f837cc3df96cf52161cb8290fb1b"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "lib/kobject.c",
                "function": "__kobject_del"
            },
            "id": "CVE-2024-26604-65976de3",
            "digest": {
                "length": 489.0,
                "function_hash": "128205967867903681088368912834209098000"
            },
            "signature_version": "v1",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f414d306320f837cc3df96cf52161cb8290fb1b"
        },
        {
            "deprecated": false,
            "signature_type": "Line",
            "target": {
                "file": "lib/kobject.c"
            },
            "id": "CVE-2024-26604-7cba5d74",
            "digest": {
                "line_hashes": [
                    "141496694523089987043440402691056679610",
                    "118451875293603208434210245509773539841",
                    "201023737829225835462082909996529741677",
                    "146614430591929406205330828685038316394",
                    "319636124267746810387885789880236123701",
                    "315372356859989378717666138045672093115",
                    "335162980498397290315393429133742661859",
                    "182733869751812602648013356421326465338",
                    "29512800537322248897808443711472316161",
                    "312011452136357736219241162738354345165",
                    "62918182975505282879170438530927140197",
                    "252182279625408988945082001849051245900",
                    "335988010303578539170495051090690545907",
                    "101677620158091324510301611061144144063",
                    "87712020698649404432068507444658002753",
                    "121458473497869073677789164530401436128",
                    "75982250973705576945386157340546982027",
                    "338961484874989042180338155505797249710",
                    "149134889045937192916713463124568850871",
                    "11557885755083526231867527694428292786",
                    "98663570037970893760822007185724586138",
                    "257530945928422448784335334760572831778",
                    "40117681590431318730987787206948432945",
                    "2196764042347214917070022092299978035",
                    "195699856178394571252867408360540551592",
                    "44649517922962272670564976807137948440",
                    "161464949428069900762815390038958890622",
                    "59709548416616405465769239604612809071"
                ],
                "threshold": 0.9
            },
            "signature_version": "v1",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b746d52ce7bcac325a2fa264216ead85b7fbbfaa"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "lib/kobject.c",
                "function": "kobj_child_ns_ops"
            },
            "id": "CVE-2024-26604-870330c9",
            "digest": {
                "length": 188.0,
                "function_hash": "8354770633405631845261665951342316260"
            },
            "signature_version": "v1",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b746d52ce7bcac325a2fa264216ead85b7fbbfaa"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "lib/kobject.c",
                "function": "kobj_child_ns_ops"
            },
            "id": "CVE-2024-26604-8d028a2a",
            "digest": {
                "length": 188.0,
                "function_hash": "8354770633405631845261665951342316260"
            },
            "signature_version": "v1",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f414d306320f837cc3df96cf52161cb8290fb1b"
        },
        {
            "deprecated": false,
            "signature_type": "Line",
            "target": {
                "file": "lib/kobject.c"
            },
            "id": "CVE-2024-26604-9febc0ae",
            "digest": {
                "line_hashes": [
                    "141496694523089987043440402691056679610",
                    "118451875293603208434210245509773539841",
                    "201023737829225835462082909996529741677",
                    "146614430591929406205330828685038316394",
                    "319636124267746810387885789880236123701",
                    "315372356859989378717666138045672093115",
                    "335162980498397290315393429133742661859",
                    "182733869751812602648013356421326465338",
                    "29512800537322248897808443711472316161",
                    "312011452136357736219241162738354345165",
                    "62918182975505282879170438530927140197",
                    "252182279625408988945082001849051245900",
                    "335988010303578539170495051090690545907",
                    "101677620158091324510301611061144144063",
                    "87712020698649404432068507444658002753",
                    "121458473497869073677789164530401436128",
                    "75982250973705576945386157340546982027",
                    "338961484874989042180338155505797249710",
                    "149134889045937192916713463124568850871",
                    "11557885755083526231867527694428292786",
                    "98663570037970893760822007185724586138",
                    "257530945928422448784335334760572831778",
                    "40117681590431318730987787206948432945",
                    "2196764042347214917070022092299978035",
                    "195699856178394571252867408360540551592",
                    "44649517922962272670564976807137948440",
                    "161464949428069900762815390038958890622",
                    "59709548416616405465769239604612809071"
                ],
                "threshold": 0.9
            },
            "signature_version": "v1",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ca8fbabcceb8bfe44f7f50640092fd8f1de375c"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "lib/kobject.c",
                "function": "__kobject_del"
            },
            "id": "CVE-2024-26604-a65a1d29",
            "digest": {
                "length": 489.0,
                "function_hash": "128205967867903681088368912834209098000"
            },
            "signature_version": "v1",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b746d52ce7bcac325a2fa264216ead85b7fbbfaa"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "lib/kobject.c",
                "function": "kobj_child_ns_ops"
            },
            "id": "CVE-2024-26604-a8edec58",
            "digest": {
                "length": 188.0,
                "function_hash": "8354770633405631845261665951342316260"
            },
            "signature_version": "v1",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ca8fbabcceb8bfe44f7f50640092fd8f1de375c"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "lib/kobject.c",
                "function": "kobject_cleanup"
            },
            "id": "CVE-2024-26604-e7fc8ac9",
            "digest": {
                "length": 813.0,
                "function_hash": "328643263703410624446876678463098659982"
            },
            "signature_version": "v1",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ca8fbabcceb8bfe44f7f50640092fd8f1de375c"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "lib/kobject.c",
                "function": "create_dir"
            },
            "id": "CVE-2024-26604-f530424c",
            "digest": {
                "length": 479.0,
                "function_hash": "208975821239022576167464900908516258559"
            },
            "signature_version": "v1",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ca8fbabcceb8bfe44f7f50640092fd8f1de375c"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "lib/kobject.c",
                "function": "create_dir"
            },
            "id": "CVE-2024-26604-fdf077da",
            "digest": {
                "length": 479.0,
                "function_hash": "208975821239022576167464900908516258559"
            },
            "signature_version": "v1",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b746d52ce7bcac325a2fa264216ead85b7fbbfaa"
        }
    ]
}

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.0
Fixed
6.6.18
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.7.6