{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-26590","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-02-19T14:20:24.126Z","datePublished":"2024-02-22T16:13:34.315Z","dateUpdated":"2025-05-04T08:51:43.931Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2025-05-04T08:51:43.931Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: fix inconsistent per-file compression format\n\nEROFS can select compression algorithms on a per-file basis, and each\nper-file compression algorithm needs to be marked in the on-disk\nsuperblock for initialization.\n\nHowever, syzkaller can generate inconsistent crafted images that use\nan unsupported algorithmtype for specific inodes, e.g. use MicroLZMA\nalgorithmtype even it's not set in `sbi->available_compr_algs`.  This\ncan lead to an unexpected \"BUG: kernel NULL pointer dereference\" if\nthe corresponding decompressor isn't built-in.\n\nFix this by checking against `sbi->available_compr_algs` for each\nm_algorithmformat request.  Incorrect !erofs_sb_has_compr_cfgs preset\nbitmap is now fixed together since it was harmless previously."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/erofs/decompressor.c","fs/erofs/zmap.c"],"versions":[{"version":"8f89926290c4b3d31748d5089b27952243be0693","lessThan":"47467e04816cb297905c0f09bc2d11ef865942d9","status":"affected","versionType":"git"},{"version":"8f89926290c4b3d31748d5089b27952243be0693","lessThan":"823ba1d2106019ddf195287ba53057aee33cf724","status":"affected","versionType":"git"},{"version":"8f89926290c4b3d31748d5089b27952243be0693","lessThan":"eed24b816e50c6cd18cbee0ff0d7218c8fced199","status":"affected","versionType":"git"},{"version":"8f89926290c4b3d31748d5089b27952243be0693","lessThan":"118a8cf504d7dfa519562d000f423ee3ca75d2c4","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/erofs/decompressor.c","fs/erofs/zmap.c"],"versions":[{"version":"5.16","status":"affected"},{"version":"0","lessThan":"5.16","status":"unaffected","versionType":"semver"},{"version":"6.1.80","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.14","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7.2","lessThanOrEqual":"6.7.*","status":"unaffected","versionType":"semver"},{"version":"6.8","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":"5.16","versionEndExcluding":"6.1.80"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.6.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.7.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.8"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/47467e04816cb297905c0f09bc2d11ef865942d9"},{"url":"https://git.kernel.org/stable/c/823ba1d2106019ddf195287ba53057aee33cf724"},{"url":"https://git.kernel.org/stable/c/eed24b816e50c6cd18cbee0ff0d7218c8fced199"},{"url":"https://git.kernel.org/stable/c/118a8cf504d7dfa519562d000f423ee3ca75d2c4"}],"title":"erofs: fix inconsistent per-file compression format","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-476","lang":"en","description":"CWE-476 NULL Pointer Dereference"}]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-04-22T16:17:45.622198Z","id":"CVE-2024-26590","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-04-22T16:19:05.199Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T00:07:19.710Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/47467e04816cb297905c0f09bc2d11ef865942d9","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/823ba1d2106019ddf195287ba53057aee33cf724","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/eed24b816e50c6cd18cbee0ff0d7218c8fced199","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/118a8cf504d7dfa519562d000f423ee3ca75d2c4","tags":["x_transferred"]}]}]}}