cveboard Feed RSS

CVE-2022-50728

CVE.org · Publicado

Histórico de CVEsJSONInstruções para IA

Status do registro
Publicado
Ano do identificador (não é o ano de publicação)
2022
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

s390/lcs: Fix return type of lcs_start_xmit()

In the Linux kernel, the following vulnerability has been resolved: s390/lcs: Fix return type of lcs_start_xmit() With clang's kernel control flow integrity (kCFI, CONFIG_CFI_CLANG), indirect call targets are validated against the expected function pointer prototype to make sure the call target is valid to help mitigate ROP attacks. If they are not identical, there is a failure at run time, which manifests as either a kernel panic or thread getting killed. A proposed warning in clang aims to catch these at compile time, which reveals: drivers/s390/net/lcs.c:2090:21: error: incompatible function pointer types initializing 'netdev_tx_t (*)(struct sk_buff *, struct net_device *)' (aka 'enum netdev_tx (*)(struct sk_buff *, struct net_device *)') with an expression of type 'int (struct sk_buff *, struct net_device *)' [-Werror,-Wincompatible-function-pointer-types-strict] .ndo_start_xmit = lcs_start_xmit, ^~~~~~~~~~~~~~ drivers/s390/net/lcs.c:2097:21: error: incompatible function pointer types initializing 'netdev_tx_t (*)(struct sk_buff *, struct net_device *)' (aka 'enum netdev_tx (*)(struct sk_buff *, struct net_device *)') with an expression of type 'int (struct sk_buff *, struct net_device *)' [-Werror,-Wincompatible-function-pointer-types-strict] .ndo_start_xmit = lcs_start_xmit, ^~~~~~~~~~~~~~ ->ndo_start_xmit() in 'struct net_device_ops' expects a return type of 'netdev_tx_t', not 'int'. Adjust the return type of lcs_start_xmit() to match the prototype's to resolve the warning and potential CFI failure, should s390 select ARCH_SUPPORTS_CFI_CLANG in the future.

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)
dc1f8bf68b311b1537cb65893430b6796118498aaffectedgit7b4da3fcd513b8e67823eb80da37aad99b3339c1IndisponívelNenhuma listada
dc1f8bf68b311b1537cb65893430b6796118498aaffectedgitd49cc2b705711fb8fb849e7c660929b2100360b7IndisponívelNenhuma listada
dc1f8bf68b311b1537cb65893430b6796118498aaffectedgite684215d8a903752e2b0cc946517fb61e57a880aIndisponívelNenhuma listada
dc1f8bf68b311b1537cb65893430b6796118498aaffectedgit20022d551f2064a194d8e0acb6cd7a85094a17b2IndisponívelNenhuma listada
dc1f8bf68b311b1537cb65893430b6796118498aaffectedgitebc3c77785dc8b5b626309c0032a38fbb139287aIndisponívelNenhuma listada
dc1f8bf68b311b1537cb65893430b6796118498aaffectedgit5ad774fb823c24bbeb21a15a67103ea7a6f5b928IndisponívelNenhuma listada
dc1f8bf68b311b1537cb65893430b6796118498aaffectedgit69669820844f81a77b6db24b86581320ae4d17afIndisponívelNenhuma listada
dc1f8bf68b311b1537cb65893430b6796118498aaffectedgitcda74cdc280ba35c8993e7517bac5c257ff36f18IndisponívelNenhuma listada
dc1f8bf68b311b1537cb65893430b6796118498aaffectedgitbb16db8393658e0978c3f0d30ae069e878264fa3Indisponí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)
2.6.32affectedIndisponívelIndisponívelIndisponívelNenhuma listada
0unaffectedsemver2.6.32IndisponívelNenhuma listada
4.9.337unaffectedsemverIndisponível4.9.*Nenhuma listada
4.14.303unaffectedsemverIndisponível4.14.*Nenhuma listada
4.19.270unaffectedsemverIndisponível4.19.*Nenhuma listada
5.4.229unaffectedsemverIndisponível5.4.*Nenhuma listada
5.10.163unaffectedsemverIndisponível5.10.*Nenhuma listada
5.15.86unaffectedsemverIndisponível5.15.*Nenhuma listada
6.0.16unaffectedsemverIndisponível6.0.*Nenhuma listada
6.1.2unaffectedsemverIndisponível6.1.*Nenhuma listada
6.2unaffectedoriginal_commit_for_fixIndisponível*Nenhuma listada