Description
The rose_parse_ccitt function in net/rose/rose_subr.c in the Linux kernel before 2.6.39 does not validate the FAC_CCITT_DEST_NSAP and FAC_CCITT_SRC_NSAP fields, which allows remote attackers to (1) cause a denial of service (integer underflow, heap memory corruption, and panic) via a small length value in data sent to a ROSE socket, or (2) conduct stack-based buffer overflow attacks via a large length value in data sent to a ROSE socket.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 6.0 | linux-2.6 | 2.6.32-34squeeze1 | DSA-2240-1 |
| Debian 5.0 | linux-2.6 | 2.6.26-26lenny3 | DSA-2264-1 |
Advisories 2
- DSA-2240-1 linux-2.6 - several issues Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-2264-1 linux-2.6 - several issues Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://github.com/torvalds/linux/commit/be20250c13f88375345ad99950190685eda51eb8
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=be20250c13f88375345ad99950190685eda51eb8
- https://bugzilla.redhat.com/show_bug.cgi?id=770777
- http://ftp.osuosl.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39
- [oss-security] 20111227 Re: CVE request: kernel: multiple issues in ROSE mailing-list
- SUSE-SU-2015:0812 vendor-advisory