{"id":"CVE-2025-38381","state":"PUBLISHED","title":"Input: cs40l50-vibra - fix potential NULL dereference in cs40l50_upload_owt()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: cs40l50-vibra - fix potential NULL dereference in cs40l50_upload_owt()\n\nThe cs40l50_upload_owt() function allocates memory via kmalloc()\nwithout checking for allocation failure, which could lead to a\nNULL pointer dereference.\n\nReturn -ENOMEM in case allocation fails.","publishedAt":"2025-07-25T12:53:22.835Z","updatedAt":"2026-05-11T21:26:52.188Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c38fe1bb5d21c2ce0857965ee06174ee587d6b42","status":"affected","lessThan":"ea20568895c1122f15b6fc9e8d02c6cbe22964f8","versionType":"git"},{"version":"c38fe1bb5d21c2ce0857965ee06174ee587d6b42","status":"affected","lessThan":"e87fc697fa4be5164e47cfba4ddd4732499adc60","versionType":"git"},{"version":"c38fe1bb5d21c2ce0857965ee06174ee587d6b42","status":"affected","lessThan":"4cf65845fdd09d711fc7546d60c9abe010956922","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/input/misc/cs40l50-vibra.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.37","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.15.6","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/input/misc/cs40l50-vibra.c"]}],"references":["https://git.kernel.org/stable/c/ea20568895c1122f15b6fc9e8d02c6cbe22964f8","https://git.kernel.org/stable/c/e87fc697fa4be5164e47cfba4ddd4732499adc60","https://git.kernel.org/stable/c/4cf65845fdd09d711fc7546d60c9abe010956922"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/38xxx/CVE-2025-38381.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-38381","state":"PUBLISHED","datePublished":"2025-07-25T12:53:22.835Z","dateUpdated":"2026-05-11T21:26:52.188Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:24.010Z"},"containers":{"cna":{"title":"Input: cs40l50-vibra - fix potential NULL dereference in cs40l50_upload_owt()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: cs40l50-vibra - fix potential NULL dereference in cs40l50_upload_owt()\n\nThe cs40l50_upload_owt() function allocates memory via kmalloc()\nwithout checking for allocation failure, which could lead to a\nNULL pointer dereference.\n\nReturn -ENOMEM in case allocation fails."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c38fe1bb5d21c2ce0857965ee06174ee587d6b42","status":"affected","lessThan":"ea20568895c1122f15b6fc9e8d02c6cbe22964f8","versionType":"git"},{"version":"c38fe1bb5d21c2ce0857965ee06174ee587d6b42","status":"affected","lessThan":"e87fc697fa4be5164e47cfba4ddd4732499adc60","versionType":"git"},{"version":"c38fe1bb5d21c2ce0857965ee06174ee587d6b42","status":"affected","lessThan":"4cf65845fdd09d711fc7546d60c9abe010956922","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/input/misc/cs40l50-vibra.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.37","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.15.6","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/input/misc/cs40l50-vibra.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ea20568895c1122f15b6fc9e8d02c6cbe22964f8"},{"url":"https://git.kernel.org/stable/c/e87fc697fa4be5164e47cfba4ddd4732499adc60"},{"url":"https://git.kernel.org/stable/c/4cf65845fdd09d711fc7546d60c9abe010956922"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:26:52.188Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.12.37"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.15.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.16"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}