Skip to content

CVE-2026-49419 Jail reference count underflow

HighCVSS 8.8 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

When the JAIL_AT_DESC flag is specified, kern_jail_set() and kern_jail_get() released the reference to the caller's current prison before looking up the jail descriptor. If the descriptor lookup failed, error-handling paths released the same reference a second time.

An unprivileged local user can trigger a prison reference count underflow, which may cause the prison structure to be freed while still in use. When this is done on the jail host, the bug will generally result in an immediate panic. However, if the user is running in a jail, then it may be possible to exploit the bug to elevate privileges.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
freebsd = 15.0; = 15.0-p1; = 15.0-p2; = 15.0-p3 +12 more p1, p11 Fixed

Affected products

ProductAffected versionsFixed in
freebsd >= 15.1-RELEASE, < p1 p1
freebsd >= 15.0-RELEASE, < p11 p11
freebsd = 15.0 No fix listed
freebsd = 15.0-p1 No fix listed
freebsd = 15.0-p10 No fix listed
freebsd = 15.0-p2 No fix listed
freebsd = 15.0-p3 No fix listed
freebsd = 15.0-p4 No fix listed
freebsd = 15.0-p5 No fix listed
freebsd = 15.0-p6 No fix listed
freebsd = 15.0-p7 No fix listed
freebsd = 15.0-p8 No fix listed
freebsd = 15.0-p9 No fix listed
freebsd = 15.1 No fix listed
freebsd = 15.1-rc2 No fix listed
freebsd = 15.1-rc3-p1 No fix listed

References