CVE-2025-21857 in Linuxinformazioni

Riassunto

di VulDB • 04/08/2026

Nel kernel Linux, è stata risolta la seguente vulnerabilità:

net/sched: cls_api: correzione della gestione degli errori che causava una dereferenziazione NULL

tcf_exts_miss_cookie_base_alloc() chiama xa_alloc_cyclic(), che può restituire 1 se l'allocazione ha avuto successo dopo il wrapping. Questo valore è stato trattato erroneamente come un errore, con il ritorno del valore 1 alla funzione chiamante tcf_exts_init_ex(), la quale imposta exts->actions su NULL e restituisce 1 alla funzione chiamante fl_change().

fl_change() tratta err == 1 come successo, invocando tcf_exts_validate_ex(), che chiama tcf_action_init() passando exts->actions come argomento, dove viene dereferenziato.

Esempio di traccia:

BUG: kernel NULL pointer dereference, address: 0000000000000000 CPU: 114 PID: 16151 Comm: handler114 Kdump: loaded Not tainted 5.14.0-503.16.1.el9_5.x86_64 #1 RIP: 0010:tcf_action_init+0x1f8/0x2c0 Call Trace: tcf_action_init+0x1f8/0x2c0 tcf_exts_validate_ex+0x175/0x190 fl_change+0x537/0x1120 [cls_flower]

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Responsabile

Linux

Prenotare

29/12/2024

Divulgazione

12/03/2025

Moderazione

accettato

CPE

pronto

EPSS

0.00204

KEV

no

Attività

molto basso

Fonti

Interested in the pricing of exploits?

See the underground prices here!