Wróć do katalogu CVE
CVE-2022-50486

net: ethernet: ti: Poprawiono typ zwracany netcp_ndo_start_xmit()

Linux Linux

W skrócie

W jądrze systemu Linux rozwiązano następującą podatność: net: ethernet: ti: Poprawiono typ zwracany netcp_ndo_start_xmit() Z kontrolą integralności przepływu sterowania jądra clang (kCFI, CONFIG_CFI_CLANG), cele wywołań pośrednich są weryfikowane względem oczekiwanego prototypu wskaźnika funkcji, aby upewnić się, że cel wywołania jest prawidłowy, co pomaga łagodzić ataki ROP. Jeśli nie są identyczne, następuje błąd w czasie wykonywania, który objawia się jako panika jądra lub zabicie wątku. Proponowane ostrzeżenie w clang ma na celu wychwycenie tego w czasie kompilacji, co ujawnia: drivers/net/ethernet/ti/netcp_core.c:1944: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 = netcp_ndo_start_xmit, ^~~~~~~~~~~~~~~~~~~~ 1 error generated. ->ndo_start_xmit() w 'struct net_device_ops' oczekuje typu zwracanego 'netdev_tx_t', a nie 'int'. Dostosuj typ zwracany netcp_ndo_start_xmit(), aby pasował do prototypu, aby rozwiązać ostrzeżenie i błąd CFI.

Opis źródłowy · CVE List / CNA

Wpływ na system

Złożoność atakuNiska
PoufnośćBrak
IntegralnośćBrak
DostępnośćWysoki

Podsumowanie CVSS v3.1

5.5Średnia
Opublikowano:
Zaktualizowano:
EPSS:
0,167%
Wykorzystanie w atakach:
Niepotwierdzone
Kampanie ransomware:
Niepotwierdzone
Wektor ataku:
Lokalny

Podatne produkty

Producent, produkt i zakres podatnych wersji.

Producent, produkt i podatne wersje
Producent:LinuxLinuxPodatne wersje:
4.0Pokaż pełny zakres wersji produktu Linux
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: < 4.0; unaffected: ≥ 4.9.337, ≤ 4.9.*; unaffected: ≥ 4.14.303, ≤ 4.14.*; unaffected: ≥ 4.19.270, ≤ 4.19.*; unaffected: ≥ 5.4.229, ≤ 5.4.*; unaffected: ≥ 5.10.163, ≤ 5.10.*; unaffected: ≥ 5.15.86, ≤ 5.15.*; unaffected: ≥ 6.0.16, ≤ 6.0.*; unaffected: ≥ 6.1.2, ≤ 6.1.*; unaffected: ≥ 6.2

Zakresy commitów Git (kod źródłowy)

  • From commit 84640e27f23041d474c31d3362c3e2185ad68ec2; before commit a447479ea2cf35603b5739ea947885024b901222
  • From commit 84640e27f23041d474c31d3362c3e2185ad68ec2; before commit 17bb9bdf701f3e811a9f4820b08b9538ade2641c
  • From commit 84640e27f23041d474c31d3362c3e2185ad68ec2; before commit d837d74eae077cc3ef9e191ba8535b5f602d4673
  • From commit 84640e27f23041d474c31d3362c3e2185ad68ec2; before commit dbe1a6b930ae9647e8ce0b684c903ac67d4398eb
  • From commit 84640e27f23041d474c31d3362c3e2185ad68ec2; before commit 5b0b6553bf4ad3a435a57e02c68d6075f384e1be
  • From commit 84640e27f23041d474c31d3362c3e2185ad68ec2; before commit a413ebb6049edd881c6427cfa25a7efddd6a4f74
  • From commit 84640e27f23041d474c31d3362c3e2185ad68ec2; before commit 765636e58ba505cfe4927eda7ee83791b1c6402a
  • From commit 84640e27f23041d474c31d3362c3e2185ad68ec2; before commit 1e4953b826e12b31995564a459dbd4e9e4604a35
  • From commit 84640e27f23041d474c31d3362c3e2185ad68ec2; before commit 63fe6ff674a96cfcfc0fa8df1051a27aa31c70b4
Producent:Red HatRed Hat CodeReady Linux Builder (v. 9)Podatne wersje:Źródło nie podaje zakresu wersji
Producent:Red HatRed Hat Enterprise Linux 9Podatne wersje:Źródło nie podaje zakresu wersji
Producent:Red HatRed Hat Enterprise Linux AppStream (v. 9)Podatne wersje:Źródło nie podaje zakresu wersji
Producent:Red HatRed Hat Enterprise Linux BaseOS (v. 9)Podatne wersje:Źródło nie podaje zakresu wersji
Producent:Red HatRed Hat Enterprise Linux Real Time (v. 9)Podatne wersje:Źródło nie podaje zakresu wersji
Producent:Red HatRed Hat Enterprise Linux Real Time for NFV (v. 9)Podatne wersje:Źródło nie podaje zakresu wersji
Producent:linuxlinux kernelPodatne wersje:
≥ 4.0, < 4.9.337Pokaż pełny zakres wersji produktu linux kernel
≥ 4.10, < 4.14.303≥ 4.15, < 4.19.270≥ 4.20, < 5.4.229≥ 5.5, < 5.10.163≥ 5.11, < 5.15.86≥ 5.16, < 6.0.16≥ 6.1, < 6.1.2
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Producent:Not specifiedKernel
Środowiska (1)
  • Linux
Podatne wersje:
≥ 4.0.0, < 4.9.337Pokaż pełny zakres wersji produktu Kernel
≥ 4.10.0, < 4.14.303≥ 4.15.0, < 4.19.270≥ 4.20.0, < 5.4.229≥ 5.5.0, < 5.10.163≥ 5.11.0, < 5.15.86≥ 5.16.0, < 6.0.16≥ 6.1.0, < 6.1.2

1–9 z 9 · Strona 1 z 1

Oceny i parametry CVSS2
[email protected] · NVD (Primary)Główna5.5 / 10ŚredniaCVSS 3.1Szczegóły
Złożoność ataku
Niska
Poufność
Brak
Integralność
Brak
Dostępność
Wysoki
Wektor ataku
Lokalny
Uprawnienia
Niskie
Udział użytkownika
Niewymagany
Zakres wpływu
Bez zmian

Wektor źródłowy

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat · Red Hat VEX (adp)4.7 / 10ŚredniaCVSS 3.1Szczegóły
Złożoność ataku
Wysoka
Poufność
Brak
Integralność
Brak
Dostępność
Wysoki
Wektor ataku
Lokalny
Uprawnienia
Niskie
Udział użytkownika
Niewymagany
Zakres wpływu
Bez zmian

Wektor źródłowy

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS opisuje dotkliwość, EPSS — prawdopodobieństwo wykorzystania. Brak potwierdzenia ataków nie oznacza braku zagrożenia.

Źródła i komunikaty17

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Źródła danych i licencje