Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-11] src/sys/net



Module Name:    src
Committed By:   martin
Date:           Wed Oct 14 17:52:30 UTC 2026

Modified Files:
        src/sys/net [netbsd-11]: bsd-comp.c

Log Message:
Pull up following revision(s) (requested by mrg in ticket #524):

        sys/net/bsd-comp.c: revision 1.24

Properly bounds check the max_ent check in bsd_decompress().

A specially crafted packet from PPP can trigger a backwards write of
an mbuf of a character, and can cause hangs and crashes as it corrupts
memory in the kernel.

The check against max_ent has an off-by-one error, fixed in this change
and fixes the problem (tested on arm64.)

>From Acts1631 via OpenBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.23.2.1 src/sys/net/bsd-comp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index