In the Linux kernel, the following vulnerability has been resolved:
pstore/zone: Add a null pointer check to the pszkmsgread
kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Ensure the allocation was successful by checking the pointer validity.
{ "vanir_signatures": [ { "id": "CVE-2024-35940-122fe04c", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98e2b97acb875d65bdfc75fc408e67975cef3041", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "318295244118302635050417158056142181170", "111987717711847838196702393131635089986", "279775114179139371001966654879998830742", "196902803471167669400087953336100580836" ] }, "target": { "file": "fs/pstore/zone.c" } }, { "id": "CVE-2024-35940-1a9b2cc5", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@635594cca59f9d7a8e96187600c34facb8bc0682", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "digest": { "length": 833.0, "function_hash": "239977869350301709829181650063169548532" }, "target": { "file": "fs/pstore/zone.c", "function": "psz_kmsg_read" } }, { "id": "CVE-2024-35940-2d32a432", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ec7256887d072f98c42cdbef4dcc80ddf84c7a70", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "318295244118302635050417158056142181170", "111987717711847838196702393131635089986", "279775114179139371001966654879998830742", "196902803471167669400087953336100580836" ] }, "target": { "file": "fs/pstore/zone.c" } }, { "id": "CVE-2024-35940-4b69cd79", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98bc7e26e14fbb26a6abf97603d59532475e97f8", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "318295244118302635050417158056142181170", "111987717711847838196702393131635089986", "279775114179139371001966654879998830742", "196902803471167669400087953336100580836" ] }, "target": { "file": "fs/pstore/zone.c" } }, { "id": "CVE-2024-35940-7b4d7868", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6f9f2e498eae7897ba5d3e33908917f68ff4abcc", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "digest": { "length": 833.0, "function_hash": "239977869350301709829181650063169548532" }, "target": { "file": "fs/pstore/zone.c", "function": "psz_kmsg_read" } }, { "id": "CVE-2024-35940-868ec12c", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98bc7e26e14fbb26a6abf97603d59532475e97f8", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "digest": { "length": 833.0, "function_hash": "239977869350301709829181650063169548532" }, "target": { "file": "fs/pstore/zone.c", "function": "psz_kmsg_read" } }, { "id": "CVE-2024-35940-94f5bb16", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98e2b97acb875d65bdfc75fc408e67975cef3041", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "digest": { "length": 833.0, "function_hash": "239977869350301709829181650063169548532" }, "target": { "file": "fs/pstore/zone.c", "function": "psz_kmsg_read" } }, { "id": "CVE-2024-35940-972a6f61", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@635594cca59f9d7a8e96187600c34facb8bc0682", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "318295244118302635050417158056142181170", "111987717711847838196702393131635089986", "279775114179139371001966654879998830742", "196902803471167669400087953336100580836" ] }, "target": { "file": "fs/pstore/zone.c" } }, { "id": "CVE-2024-35940-a6fdd55e", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6f9f2e498eae7897ba5d3e33908917f68ff4abcc", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "318295244118302635050417158056142181170", "111987717711847838196702393131635089986", "279775114179139371001966654879998830742", "196902803471167669400087953336100580836" ] }, "target": { "file": "fs/pstore/zone.c" } }, { "id": "CVE-2024-35940-d5b2c5fc", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bb", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "318295244118302635050417158056142181170", "111987717711847838196702393131635089986", "279775114179139371001966654879998830742", "196902803471167669400087953336100580836" ] }, "target": { "file": "fs/pstore/zone.c" } }, { "id": "CVE-2024-35940-e10312f1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bb", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "digest": { "length": 833.0, "function_hash": "239977869350301709829181650063169548532" }, "target": { "file": "fs/pstore/zone.c", "function": "psz_kmsg_read" } }, { "id": "CVE-2024-35940-e88bb524", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ec7256887d072f98c42cdbef4dcc80ddf84c7a70", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "digest": { "length": 833.0, "function_hash": "239977869350301709829181650063169548532" }, "target": { "file": "fs/pstore/zone.c", "function": "psz_kmsg_read" } } ] }