cveboard Feed RSS

CVE-2023-52447

CVE.org · Publicado

Histórico de CVEsJSONInstruções para IA

Status do registro
Publicado
Ano do identificador (não é o ano de publicação)
2023
Publicação na fonte
Atualização na fonte
Importado pelo cveboard
Snapshot da fonte
cve_2026-10-24_midnight_baseline ·

Texto simples

Texto da CNA em inglês

bpf: Defer the free of inner map when necessary

In the Linux kernel, the following vulnerability has been resolved: bpf: Defer the free of inner map when necessary When updating or deleting an inner map in map array or map htab, the map may still be accessed by non-sleepable program or sleepable program. However bpf_map_fd_put_ptr() decreases the ref-counter of the inner map directly through bpf_map_put(), if the ref-counter is the last one (which is true for most cases), the inner map will be freed by ops->map_free() in a kworker. But for now, most .map_free() callbacks don't use synchronize_rcu() or its variants to wait for the elapse of a RCU grace period, so after the invocation of ops->map_free completes, the bpf program which is accessing the inner map may incur use-after-free problem. Fix the free of inner map by invoking bpf_map_free_deferred() after both one RCU grace period and one tasks trace RCU grace period if the inner map has been removed from the outer map before. The deferment is accomplished by using call_rcu() or call_rcu_tasks_trace() when releasing the last ref-counter of bpf map. The newly-added rcu_head field in bpf_map shares the same storage space with work field to reduce the size of bpf_map.

Fatos de produtos e versões por escopo

Dados de correção desconhecidos; nenhuma versão corrigida é deduzida aqui. Dados ausentes não comprovam ausência de correção.

Exploração desconhecida; este catálogo não avalia exploração.

Linux

Fornecedor
Linux
Produto
Linux
Plataformas
Desconhecido
Status padrão
unaffected
Linux · Fatos de produtos e versões por escopo
Versão (version)Status (status)Esquema de versões (versionType)Fim exclusivo (lessThan)Fim inclusivo (lessThanOrEqual)Mudanças de status (at → status)
bba1dc0b55ac462d24ed1228ad49800c238cd6d7affectedgit90c445799fd1dc214d7c6279c144e33a35e29ef2IndisponívelNenhuma listada
bba1dc0b55ac462d24ed1228ad49800c238cd6d7affectedgit37d98fb9c3144c0fddf7f6e99aece9927ac8dce6IndisponívelNenhuma listada
bba1dc0b55ac462d24ed1228ad49800c238cd6d7affectedgit62fca83303d608ad4fec3f7428c8685680bb01b0IndisponívelNenhuma listada
bba1dc0b55ac462d24ed1228ad49800c238cd6d7affectedgitf91cd728b10c51f6d4a39957ccd56d1e802fc8eeIndisponívelNenhuma listada
bba1dc0b55ac462d24ed1228ad49800c238cd6d7affectedgitbfd9b20c4862f41d4590fde11d70a5eeae53dcc5IndisponívelNenhuma listada
bba1dc0b55ac462d24ed1228ad49800c238cd6d7affectedgit876673364161da50eed6b472d746ef88242b2368IndisponívelNenhuma listada

Linux

Fornecedor
Linux
Produto
Linux
Plataformas
Desconhecido
Status padrão
affected
Linux · Fatos de produtos e versões por escopo
Versão (version)Status (status)Esquema de versões (versionType)Fim exclusivo (lessThan)Fim inclusivo (lessThanOrEqual)Mudanças de status (at → status)
5.9affectedIndisponívelIndisponívelIndisponívelNenhuma listada
0unaffectedsemver5.9IndisponívelNenhuma listada
5.10.214unaffectedsemverIndisponível5.10.*Nenhuma listada
5.15.153unaffectedsemverIndisponível5.15.*Nenhuma listada
6.1.75unaffectedsemverIndisponível6.1.*Nenhuma listada
6.6.14unaffectedsemverIndisponível6.6.*Nenhuma listada
6.7.2unaffectedsemverIndisponível6.7.*Nenhuma listada
6.8unaffectedoriginal_commit_for_fixIndisponível*Nenhuma listada