{"api_version":"1","generated_at":"2026-10-29T13:52:02+00:00","cve":"CVE-2022-50865","urls":{"html":"https://cve.report/CVE-2022-50865","api":"https://cve.report/api/cve/CVE-2022-50865.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-50865","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-50865"},"summary":{"title":"tcp: fix a signed-integer-overflow bug in tcp_add_backlog()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: fix a signed-integer-overflow bug in tcp_add_backlog()\n\nThe type of sk_rcvbuf and sk_sndbuf in struct sock is int, and\nin tcp_add_backlog(), the variable limit is caculated by adding\nsk_rcvbuf, sk_sndbuf and 64 * 1024, it may exceed the max value\nof int and overflow. This patch reduces the limit budget by\nhalving the sndbuf to solve this issue since ACK packets are much\nsmaller than the payload.","state":"PUBLISHED","assigner":"Linux","published_at":"2025-12-30 13:16:01","updated_at":"2026-08-04 10:18:24"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/28addf029417d53b1df062b4c87feb7bc033cb5f","name":"https://git.kernel.org/stable/c/28addf029417d53b1df062b4c87feb7bc033cb5f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4f23cb2be530785db284a685d1b1c30224d8a538","name":"https://git.kernel.org/stable/c/4f23cb2be530785db284a685d1b1c30224d8a538","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a85d39f14aa8a71e29cfb5eb5de02878a8779898","name":"https://git.kernel.org/stable/c/a85d39f14aa8a71e29cfb5eb5de02878a8779898","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9d04b4d0feee12bce6bfe37f30d8e953d3c30368","name":"https://git.kernel.org/stable/c/9d04b4d0feee12bce6bfe37f30d8e953d3c30368","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ec791d8149ff60c40ad2074af3b92a39c916a03f","name":"https://git.kernel.org/stable/c/ec791d8149ff60c40ad2074af3b92a39c916a03f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-50865","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50865","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c9c3321257e1b95be9b375f811fb250162af8d39 9d04b4d0feee12bce6bfe37f30d8e953d3c30368 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c9c3321257e1b95be9b375f811fb250162af8d39 4f23cb2be530785db284a685d1b1c30224d8a538 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c9c3321257e1b95be9b375f811fb250162af8d39 a85d39f14aa8a71e29cfb5eb5de02878a8779898 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c9c3321257e1b95be9b375f811fb250162af8d39 28addf029417d53b1df062b4c87feb7bc033cb5f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c9c3321257e1b95be9b375f811fb250162af8d39 ec791d8149ff60c40ad2074af3b92a39c916a03f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.9","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.9 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.4.278 5.4.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.153 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.77 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.0.7 6.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2022","cve_id":"50865","cve":"CVE-2022-50865","epss":"0.004580000","percentile":"0.374560000","score_date":"2026-08-06","updated_at":"2026-08-07 00:14:20"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2022-50865","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-06-16T15:51:41.874254Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-06-16T15:51:51.892Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/ipv4/tcp_ipv4.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"9d04b4d0feee12bce6bfe37f30d8e953d3c30368","status":"affected","version":"c9c3321257e1b95be9b375f811fb250162af8d39","versionType":"git"},{"lessThan":"4f23cb2be530785db284a685d1b1c30224d8a538","status":"affected","version":"c9c3321257e1b95be9b375f811fb250162af8d39","versionType":"git"},{"lessThan":"a85d39f14aa8a71e29cfb5eb5de02878a8779898","status":"affected","version":"c9c3321257e1b95be9b375f811fb250162af8d39","versionType":"git"},{"lessThan":"28addf029417d53b1df062b4c87feb7bc033cb5f","status":"affected","version":"c9c3321257e1b95be9b375f811fb250162af8d39","versionType":"git"},{"lessThan":"ec791d8149ff60c40ad2074af3b92a39c916a03f","status":"affected","version":"c9c3321257e1b95be9b375f811fb250162af8d39","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/ipv4/tcp_ipv4.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.9"},{"lessThan":"4.9","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.4.*","status":"unaffected","version":"5.4.278","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.153","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.77","versionType":"semver"},{"lessThanOrEqual":"6.0.*","status":"unaffected","version":"6.0.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.4.278","versionStartIncluding":"4.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.153","versionStartIncluding":"4.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.77","versionStartIncluding":"4.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.0.7","versionStartIncluding":"4.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1","versionStartIncluding":"4.9","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: fix a signed-integer-overflow bug in tcp_add_backlog()\n\nThe type of sk_rcvbuf and sk_sndbuf in struct sock is int, and\nin tcp_add_backlog(), the variable limit is caculated by adding\nsk_rcvbuf, sk_sndbuf and 64 * 1024, it may exceed the max value\nof int and overflow. This patch reduces the limit budget by\nhalving the sndbuf to solve this issue since ACK packets are much\nsmaller than the payload."}],"metrics":[{"cvssV3_1":{"baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"providerMetadata":{"dateUpdated":"2026-08-04T09:10:09.291Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/9d04b4d0feee12bce6bfe37f30d8e953d3c30368"},{"url":"https://git.kernel.org/stable/c/4f23cb2be530785db284a685d1b1c30224d8a538"},{"url":"https://git.kernel.org/stable/c/a85d39f14aa8a71e29cfb5eb5de02878a8779898"},{"url":"https://git.kernel.org/stable/c/28addf029417d53b1df062b4c87feb7bc033cb5f"},{"url":"https://git.kernel.org/stable/c/ec791d8149ff60c40ad2074af3b92a39c916a03f"}],"title":"tcp: fix a signed-integer-overflow bug in tcp_add_backlog()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2022-50865","datePublished":"2025-12-30T12:15:37.150Z","dateReserved":"2025-12-30T12:06:07.136Z","dateUpdated":"2026-08-04T09:10:09.291Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2025-12-30 13:16:01","lastModifiedDate":"2026-08-04 10:18:24","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-06-16T15:51:41.874254Z","id":"CVE-2022-50865","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"50865","Ordinal":"1","Title":"tcp: fix a signed-integer-overflow bug in tcp_add_backlog()","CVE":"CVE-2022-50865","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"50865","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: fix a signed-integer-overflow bug in tcp_add_backlog()\n\nThe type of sk_rcvbuf and sk_sndbuf in struct sock is int, and\nin tcp_add_backlog(), the variable limit is caculated by adding\nsk_rcvbuf, sk_sndbuf and 64 * 1024, it may exceed the max value\nof int and overflow. This patch reduces the limit budget by\nhalving the sndbuf to solve this issue since ACK packets are much\nsmaller than the payload.","Type":"Description","Title":"tcp: fix a signed-integer-overflow bug in tcp_add_backlog()"}]}}}