cve-2024-40944
Vulnerability from cvelistv5
Published
2024-07-12 12:25
Modified
2024-12-19 09:08
Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
x86/kexec: Fix bug with call depth tracking
The call to cc_platform_has() triggers a fault and system crash if call depth
tracking is active because the GS segment has been reset by load_segments() and
GS_BASE is now 0 but call depth tracking uses per-CPU variables to operate.
Call cc_platform_has() earlier in the function when GS is still valid.
[ bp: Massage. ]
References
Impacted products
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-02T04:39:55.992Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/d91ddd05082691e69b30744825d18ae799293258" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/2cfb464669b645a9b98478b74f2bcea9860dcff1" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/93c1800b3799f17375989b0daf76497dd3e80922" } ], "title": "CVE Program Container" }, { "metrics": [ { "other": { "content": { "id": "CVE-2024-40944", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "timestamp": "2024-09-10T17:04:17.603512Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-09-11T17:34:25.451Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "arch/x86/kernel/machine_kexec_64.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "d91ddd05082691e69b30744825d18ae799293258", "status": "affected", "version": "5d8213864ade86b48fc492584ea86d65a62f892e", "versionType": "git" }, { "lessThan": "2cfb464669b645a9b98478b74f2bcea9860dcff1", "status": "affected", "version": "5d8213864ade86b48fc492584ea86d65a62f892e", "versionType": "git" }, { "lessThan": "93c1800b3799f17375989b0daf76497dd3e80922", "status": "affected", "version": "5d8213864ade86b48fc492584ea86d65a62f892e", "versionType": "git" } ] }, { "defaultStatus": "affected", "product": "Linux", "programFiles": [ "arch/x86/kernel/machine_kexec_64.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "status": "affected", "version": "6.2" }, { "lessThan": "6.2", "status": "unaffected", "version": "0", "versionType": "semver" }, { "lessThanOrEqual": "6.6.*", "status": "unaffected", "version": "6.6.35", "versionType": "semver" }, { "lessThanOrEqual": "6.9.*", "status": "unaffected", "version": "6.9.6", "versionType": "semver" }, { "lessThanOrEqual": "*", "status": "unaffected", "version": "6.10", "versionType": "original_commit_for_fix" } ] } ], "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nx86/kexec: Fix bug with call depth tracking\n\nThe call to cc_platform_has() triggers a fault and system crash if call depth\ntracking is active because the GS segment has been reset by load_segments() and\nGS_BASE is now 0 but call depth tracking uses per-CPU variables to operate.\n\nCall cc_platform_has() earlier in the function when GS is still valid.\n\n [ bp: Massage. ]" } ], "providerMetadata": { "dateUpdated": "2024-12-19T09:08:40.960Z", "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux" }, "references": [ { "url": "https://git.kernel.org/stable/c/d91ddd05082691e69b30744825d18ae799293258" }, { "url": "https://git.kernel.org/stable/c/2cfb464669b645a9b98478b74f2bcea9860dcff1" }, { "url": "https://git.kernel.org/stable/c/93c1800b3799f17375989b0daf76497dd3e80922" } ], "title": "x86/kexec: Fix bug with call depth tracking", "x_generator": { "engine": "bippy-5f407fcff5a0" } } }, "cveMetadata": { "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "assignerShortName": "Linux", "cveId": "CVE-2024-40944", "datePublished": "2024-07-12T12:25:18.490Z", "dateReserved": "2024-07-12T12:17:45.588Z", "dateUpdated": "2024-12-19T09:08:40.960Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "fkie_nvd": { "descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nx86/kexec: Fix bug with call depth tracking\\n\\nThe call to cc_platform_has() triggers a fault and system crash if call depth\\ntracking is active because the GS segment has been reset by load_segments() and\\nGS_BASE is now 0 but call depth tracking uses per-CPU variables to operate.\\n\\nCall cc_platform_has() earlier in the function when GS is still valid.\\n\\n [ bp: Massage. ]\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se resolvi\\u00f3 la siguiente vulnerabilidad: x86/kexec: Correcci\\u00f3n de error con el seguimiento de profundidad de llamadas. La llamada a cc_platform_has() desencadena una falla y un bloqueo del sistema si el seguimiento de profundidad de llamadas est\\u00e1 activo porque el segmento GS ha sido restablecido por load_segments( ) y GS_BASE ahora es 0, pero el seguimiento de profundidad de llamadas utiliza variables por CPU para funcionar. Llame a cc_platform_has() anteriormente en la funci\\u00f3n cuando GS a\\u00fan sea v\\u00e1lido. [pb: Masaje. ]\"}]", "id": "CVE-2024-40944", "lastModified": "2024-11-21T09:31:55.347", "published": "2024-07-12T13:15:16.753", "references": "[{\"url\": \"https://git.kernel.org/stable/c/2cfb464669b645a9b98478b74f2bcea9860dcff1\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/93c1800b3799f17375989b0daf76497dd3e80922\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/d91ddd05082691e69b30744825d18ae799293258\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/2cfb464669b645a9b98478b74f2bcea9860dcff1\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/93c1800b3799f17375989b0daf76497dd3e80922\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/d91ddd05082691e69b30744825d18ae799293258\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]", "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "vulnStatus": "Awaiting Analysis" }, "nvd": "{\"cve\":{\"id\":\"CVE-2024-40944\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-07-12T13:15:16.753\",\"lastModified\":\"2024-11-21T09:31:55.347\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nx86/kexec: Fix bug with call depth tracking\\n\\nThe call to cc_platform_has() triggers a fault and system crash if call depth\\ntracking is active because the GS segment has been reset by load_segments() and\\nGS_BASE is now 0 but call depth tracking uses per-CPU variables to operate.\\n\\nCall cc_platform_has() earlier in the function when GS is still valid.\\n\\n [ bp: Massage. ]\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: x86/kexec: Correcci\u00f3n de error con el seguimiento de profundidad de llamadas. La llamada a cc_platform_has() desencadena una falla y un bloqueo del sistema si el seguimiento de profundidad de llamadas est\u00e1 activo porque el segmento GS ha sido restablecido por load_segments( ) y GS_BASE ahora es 0, pero el seguimiento de profundidad de llamadas utiliza variables por CPU para funcionar. Llame a cc_platform_has() anteriormente en la funci\u00f3n cuando GS a\u00fan sea v\u00e1lido. [pb: Masaje. ]\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2cfb464669b645a9b98478b74f2bcea9860dcff1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/93c1800b3799f17375989b0daf76497dd3e80922\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d91ddd05082691e69b30744825d18ae799293258\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2cfb464669b645a9b98478b74f2bcea9860dcff1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/93c1800b3799f17375989b0daf76497dd3e80922\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/d91ddd05082691e69b30744825d18ae799293258\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}", "vulnrichment": { "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/d91ddd05082691e69b30744825d18ae799293258\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/2cfb464669b645a9b98478b74f2bcea9860dcff1\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/93c1800b3799f17375989b0daf76497dd3e80922\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T04:39:55.992Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-40944\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T17:04:17.603512Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:22.548Z\"}}], \"cna\": {\"title\": \"x86/kexec: Fix bug with call depth tracking\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5d8213864ade\", \"lessThan\": \"d91ddd050826\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5d8213864ade\", \"lessThan\": \"2cfb464669b6\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5d8213864ade\", \"lessThan\": \"93c1800b3799\", \"versionType\": \"git\"}], \"programFiles\": [\"arch/x86/kernel/machine_kexec_64.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.2\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.2\", \"versionType\": \"custom\"}, {\"status\": \"unaffected\", \"version\": \"6.6.35\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9.6\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"6.9.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"arch/x86/kernel/machine_kexec_64.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/d91ddd05082691e69b30744825d18ae799293258\"}, {\"url\": \"https://git.kernel.org/stable/c/2cfb464669b645a9b98478b74f2bcea9860dcff1\"}, {\"url\": \"https://git.kernel.org/stable/c/93c1800b3799f17375989b0daf76497dd3e80922\"}], \"x_generator\": {\"engine\": \"bippy-c9c4e1df01b2\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nx86/kexec: Fix bug with call depth tracking\\n\\nThe call to cc_platform_has() triggers a fault and system crash if call depth\\ntracking is active because the GS segment has been reset by load_segments() and\\nGS_BASE is now 0 but call depth tracking uses per-CPU variables to operate.\\n\\nCall cc_platform_has() earlier in the function when GS is still valid.\\n\\n [ bp: Massage. ]\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-07-15T06:51:57.035Z\"}}}", "cveMetadata": "{\"cveId\": \"CVE-2024-40944\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-09-11T17:34:25.451Z\", \"dateReserved\": \"2024-07-12T12:17:45.588Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-07-12T12:25:18.490Z\", \"assignerShortName\": \"Linux\"}", "dataType": "CVE_RECORD", "dataVersion": "5.1" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.