{"id":"CVE-2026-98394","state":"PUBLISHED","title":"af_unix: Return immediately when manage_oob() returns NULL for 0-length buffer.","description":"In the Linux kernel, the following vulnerability has been resolved:\n\naf_unix: Return immediately when manage_oob() returns NULL for 0-length buffer.\n\nFahad Alharbi reported that recv(0, MSG_PEEK) triggers busy-wait\nin unix_stream_read_generic() if recv() is blocking and the last\nskb in the queue is MSG_OOB skb.\n\nIn such a situation, TCP returns 0 immediately regardless of\nblocking or non-blocking.\n\nLet's follow the behaviour.","publishedAt":"2026-10-14T13:25:57.287Z","updatedAt":"2026-10-19T09:18:47.827Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"314001f0bf927015e459c9d387d62a231fe93af3","status":"affected","lessThan":"3d3c7a3df66b2ca3d2cd1a2a0c37eb701feba713","versionType":"git"},{"version":"314001f0bf927015e459c9d387d62a231fe93af3","status":"affected","lessThan":"d5dd55b316ca229a4cbf11729483ba5bb57233e7","versionType":"git"},{"version":"314001f0bf927015e459c9d387d62a231fe93af3","status":"affected","lessThan":"c81c5be3826c8467945b964d0cf7f7b3d65461db","versionType":"git"},{"version":"314001f0bf927015e459c9d387d62a231fe93af3","status":"affected","lessThan":"6e5ee08eb5858d175da6768d75d163817b6a9d4a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/unix/af_unix.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/unix/af_unix.c"]}],"references":["https://git.kernel.org/stable/c/3d3c7a3df66b2ca3d2cd1a2a0c37eb701feba713","https://git.kernel.org/stable/c/d5dd55b316ca229a4cbf11729483ba5bb57233e7","https://git.kernel.org/stable/c/c81c5be3826c8467945b964d0cf7f7b3d65461db","https://git.kernel.org/stable/c/6e5ee08eb5858d175da6768d75d163817b6a9d4a"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98394.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98394","state":"PUBLISHED","datePublished":"2026-10-14T13:25:57.287Z","dateUpdated":"2026-10-19T09:18:47.827Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.346Z"},"containers":{"cna":{"title":"af_unix: Return immediately when manage_oob() returns NULL for 0-length buffer.","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\naf_unix: Return immediately when manage_oob() returns NULL for 0-length buffer.\n\nFahad Alharbi reported that recv(0, MSG_PEEK) triggers busy-wait\nin unix_stream_read_generic() if recv() is blocking and the last\nskb in the queue is MSG_OOB skb.\n\nIn such a situation, TCP returns 0 immediately regardless of\nblocking or non-blocking.\n\nLet's follow the behaviour."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"314001f0bf927015e459c9d387d62a231fe93af3","status":"affected","lessThan":"3d3c7a3df66b2ca3d2cd1a2a0c37eb701feba713","versionType":"git"},{"version":"314001f0bf927015e459c9d387d62a231fe93af3","status":"affected","lessThan":"d5dd55b316ca229a4cbf11729483ba5bb57233e7","versionType":"git"},{"version":"314001f0bf927015e459c9d387d62a231fe93af3","status":"affected","lessThan":"c81c5be3826c8467945b964d0cf7f7b3d65461db","versionType":"git"},{"version":"314001f0bf927015e459c9d387d62a231fe93af3","status":"affected","lessThan":"6e5ee08eb5858d175da6768d75d163817b6a9d4a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/unix/af_unix.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/unix/af_unix.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3d3c7a3df66b2ca3d2cd1a2a0c37eb701feba713"},{"url":"https://git.kernel.org/stable/c/d5dd55b316ca229a4cbf11729483ba5bb57233e7"},{"url":"https://git.kernel.org/stable/c/c81c5be3826c8467945b964d0cf7f7b3d65461db"},{"url":"https://git.kernel.org/stable/c/6e5ee08eb5858d175da6768d75d163817b6a9d4a"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:18:47.827Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}