{"id":"CVE-2026-90327","aliases":["CVE-2026-90327"],"related":[],"kind":"vulnerability","state":"published","title":"phonet: pep: do not write beyond optlen in getsockopt","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nphonet: pep: do not write beyond optlen in getsockopt\n\npep_getsockopt() clamps the reported length to the caller's buffer with\nmin_t(), but then stores the value with put_user(val, (int __user *)\noptval), which always writes sizeof(int) bytes. A getsockopt() call with\nan optlen smaller than sizeof(int) thus reports the clamped length yet\nwrites a full int, one to three bytes past the user buffer.\n\nWrite the value with copy_to_user() bounded by len, so at most optlen\nbytes are copied, matching the length reported back to userspace.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nphonet: pep: do not write beyond optlen in getsockopt\n\npep_getsockopt() clamps the reported length to the caller's buffer with\nmin_t(), but then stores the value with put_user(val, (int __user *)\noptval), which always writes sizeof(int) bytes. A getsockopt() call with\nan optlen smaller than sizeof(int) thus reports the clamped length yet\nwrites a full int, one to three bytes past the user buffer.\n\nWrite the value with copy_to_user() bounded by len, so at most optlen\nbytes are copied, matching the length reported back to userspace.","source":"cvelist"}],"published":"2026-09-17T16:08:42.017Z","modified":"2026-10-19T09:19:26.783Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"02a47617cdce440f60c71a51f3a93f9f5fcc5a7a","fixed":"6054fed6bad08b6d03973e8ffca7f0c9394d1c30","status":"affected"},{"type":"git","introduced":"02a47617cdce440f60c71a51f3a93f9f5fcc5a7a","fixed":"eac733a0b6fe0a52d91f9f623425735ed50ac6c2","status":"affected"},{"type":"git","introduced":"02a47617cdce440f60c71a51f3a93f9f5fcc5a7a","fixed":"95e0ed2439dd1792eb454c68ae8d10f30ffe3bff","status":"affected"},{"type":"git","introduced":"02a47617cdce440f60c71a51f3a93f9f5fcc5a7a","fixed":"056eea1a2068ad2fb7c3093c5f1095268f87d0c7","status":"affected"},{"type":"git","introduced":"02a47617cdce440f60c71a51f3a93f9f5fcc5a7a","fixed":"1bf499e438da80455e258049bce60ffb3a53f3fa","status":"affected"},{"type":"git","introduced":"02a47617cdce440f60c71a51f3a93f9f5fcc5a7a","fixed":"c4487e4d5309de587479ecc2f5173b49586f46f4","status":"affected"},{"type":"git","introduced":"02a47617cdce440f60c71a51f3a93f9f5fcc5a7a","fixed":"f97022fefe6eb06ee18549d603420440f2959802","status":"affected"},{"type":"git","introduced":"02a47617cdce440f60c71a51f3a93f9f5fcc5a7a","fixed":"77e5eb0e192aec6710c03ca8144582fd2af36ca4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.28","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.28","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/6054fed6bad08b6d03973e8ffca7f0c9394d1c30","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eac733a0b6fe0a52d91f9f623425735ed50ac6c2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/95e0ed2439dd1792eb454c68ae8d10f30ffe3bff","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/056eea1a2068ad2fb7c3093c5f1095268f87d0c7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1bf499e438da80455e258049bce60ffb3a53f3fa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c4487e4d5309de587479ecc2f5173b49586f46f4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f97022fefe6eb06ee18549d603420440f2959802","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/77e5eb0e192aec6710c03ca8144582fd2af36ca4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90327","url":"https://www.cve.org/CVERecord?id=CVE-2026-90327","licence":"CVE Terms of Use","modified":"2026-10-19T09:01:44.321Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90327","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90327","licence":"Public domain","modified":"2026-10-19T09:19:26.783Z"}],"updatedAt":"2026-11-25T22:59:39.384Z","epss":{"score":0.00216,"percentile":0.12828,"date":"2026-12-01T12:00:22.000Z"}}