kqueue_fork_copy_knote() indexed into the child's file descriptor table using a knote's file descriptor number without a bounds check. Because the child's table is copied before knotes are transferred, a concurrent thread in the parent could grow the parent's table and register knotes with file descriptor numbers beyond the end of the child's table, causing an out-of-bounds read.
An unprivileged local user may be able to exploit these races to escalate privileges.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 4
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Freebsd Freebsd
cpe:2.3:o:freebsd:freebsd:15.1:-:*:*:*:*:*:*
|
— | — |
|
Freebsd Freebsd
cpe:2.3:o:freebsd:freebsd:15.1:p1:*:*:*:*:*:*
|
— | — |
|
Freebsd Freebsd
cpe:2.3:o:freebsd:freebsd:15.1:p2:*:*:*:*:*:*
|
— | — |
|
Freebsd Freebsd
cpe:2.3:o:freebsd:freebsd:15.1:p3:*:*:*:*:*:*
|
— | — |