{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-90359","id":"CVE-2026-90359","title":"bpf: Reject >8 byte return values on return-reading trampoline paths","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject >8 byte return values on return-reading trampoline paths\n\nbtf_distill_func_proto() builds the function model used for the\nfentry/fexit/fmod_ret/fsession trampolines and struct_ops. It has\naccepted a 16-byte __int128 return value since the trampoline was\nintroduced: __get_type_size() returns the integer's type size, an","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject >8 byte return values on return-reading trampoline paths\n\nbtf_distill_func_proto() builds the function model used for the\nfentry/fexit/fmod_ret/fsession trampolines and struct_ops. It has\naccepted a 16-byte __int128 return value since the trampoline was\nintroduced: __get_type_size() returns the integer's type size, and the\nreturn-type check only rejected ret < 0.\n\nBut the BPF trampoline preserves only 8 bytes of the return value (RAX on\nx86, i.e. R0). For an attach type that reads the target's return value the\nsecond half (RDX / R3) is neither saved nor restored, so a program\nattached to a function returning a 16-byte value corrupts the value seen\nby the real caller and itself observes only half of it. struct_ops\ntrampolines have the same limitation.\n\nThis affects the attach types that read the target's return value: fexit,\nfmod_ret and fsession (plus the _multi variants of fexit and fsession),\nand struct_ops. fentry/fentry_multi run before the target returns and are\nunaffected.\n\nReject a >8 byte return value for these attach types in\nbpf_check_attach_target() and bpf_check_attach_btf_id_multi(), and for\nstruct_ops in bpf_struct_ops_desc_init().","published":"2026-09-17T16:09:04.187Z","updated":"2026-10-28T02:30:43.016352820Z","reserved":"2026-09-11T19:38:34.806Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fec56f5890d93fc2ed74166c397dc186b1c25951","lessThan":"de54ba33690d2dd3c4aa686c9693505644285b0b","status":"affected","versionType":"git"},{"version":"fec56f5890d93fc2ed74166c397dc186b1c25951","lessThan":"9a9e902bd0556052534641f7d5f868c6dc4b84ae","status":"affected","versionType":"git"},{"version":"fec56f5890d93fc2ed74166c397dc186b1c25951","lessThan":"d36ac53fc83baf843c51b7afd6d2471f36b713d8","status":"affected","versionType":"git"},{"version":"fec56f5890d93fc2ed74166c397dc186b1c25951","lessThan":"c48796aa6c392cde93946e5d5a9a1f1b1cf72feb","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","lessThan":"5.5","status":"unaffected","versionType":"semver"},{"version":"6.12.114","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.57","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.6","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/de54ba33690d2dd3c4aa686c9693505644285b0b","tags":["web"]},{"url":"https://git.kernel.org/stable/c/9a9e902bd0556052534641f7d5f868c6dc4b84ae","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d36ac53fc83baf843c51b7afd6d2471f36b713d8","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c48796aa6c392cde93946e5d5a9a1f1b1cf72feb","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90359.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90359","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00201,"epssPercentile":0.10072,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-90359","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90359","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-90359","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-90359","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}