Aller au contenu
7.3 Élevée

CVE-2024-38659 In the Linux kernel, the following vulnerability has been resolved: enic: Validate length of nl attributes in…

Description

In the Linux kernel, the following vulnerability has been resolved: enic: Validate length of nl attributes in enic_set_vf_port enic_set_vf_port assumes that the nl attribute IFLA_PORT_PROFILE is of length PORT_PROFILE_MAX and that the nl attributes IFLA_PORT_INSTANCE_UUID, IFLA_PORT_HOST_UUID are of length PORT_UUID_MAX. These attributes are validated (in the function do_setlink in rtnetlink.c) using the nla_policy ifla_port_policy. The policy defines IFLA_PORT_PROFILE as NLA_STRING, IFLA_PORT_INSTANCE_UUID as NLA_BINARY and IFLA_PORT_HOST_UUID as NLA_STRING. That means that the length validation using the policy is for the max size of the attributes and not on exact size so the length of these attributes might be less than the sizes that enic_set_vf_port expects. This might cause an out of bands read access in the memcpys of the data of these attributes in enic_set_vf_port.

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.10 premières → < 6.10 6.10
Linux 6.9 premières → < 6.9.4 6.9.4
Linux 6.6 premières → < 6.6.33 6.6.33
Linux 6.1 premières → < 6.1.93 6.1.93
Linux 5.15 premières → < 5.15.161 5.15.161
Linux 5.10 premières → < 5.10.219 5.10.219
Linux 5.4 premières → < 5.4.278 5.4.278
Linux 4.19 premières → < 4.19.316 4.19.316
Linux 2.6.35 Pas de correctif indiqué
Afficher les 4 autres branches
Produit Versions touchées Corrigé en
RUGGEDCOM RST2428P 3.1 premières → < 3.1 3.1
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Versions non publiées
SCALANCE XCM-/XRM-/XCH-/XRH-300 family 3.1 premières → < 3.1 3.1
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 premières → < 1.1.1 1.1.1

Références

Chronologie

  1. Publiée
  2. Dernière modification
Les 18283 CVE de Linux →
Suivre cette CVE