{"id":"CVE-2024-26858","aliases":["CVE-2024-26858"],"related":[],"kind":"vulnerability","state":"published","title":"net/mlx5e: Use a memory barrier to enforce PTP WQ xmit submission tracking occurs after populating the metadata_map","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: Use a memory barrier to enforce PTP WQ xmit submission tracking occurs after populating the metadata_map\n\nJust simply reordering the functions mlx5e_ptp_metadata_map_put and\nmlx5e_ptpsq_track_metadata in the mlx5e_txwqe_complete context is not good\nenough since both the compiler and CPU are free to reorder these two\nfunctions. If reordering does occur, the issue that was supposedly fixed by\n7e3f3ba97e6c (\"net/mlx5e: Track xmit submission to PTP WQ after populating\nmetadata map\") will be seen. This will lead to NULL pointer dereferences in\nmlx5e_ptpsq_mark_ts_cqes_undelivered in the NAPI polling context due to the\ntracking list being populated before the metadata map.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: Use a memory barrier to enforce PTP WQ xmit submission tracking occurs after populating the metadata_map\n\nJust simply reordering the functions mlx5e_ptp_metadata_map_put and\nmlx5e_ptpsq_track_metadata in the mlx5e_txwqe_complete context is not good\nenough since both the compiler and CPU are free to reorder these two\nfunctions. If reordering does occur, the issue that was supposedly fixed by\n7e3f3ba97e6c (\"net/mlx5e: Track xmit submission to PTP WQ after populating\nmetadata map\") will be seen. This will lead to NULL pointer dereferences in\nmlx5e_ptpsq_mark_ts_cqes_undelivered in the NAPI polling context due to the\ntracking list being populated before the metadata map.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net/mlx5e: use una barrera de memoria para aplicar PTP WQ. El seguimiento de envío xmit ocurre después de completar metadata_map. Simplemente reordenar las funciones mlx5e_ptp_metadata_map_put y mlx5e_ptpsq_track_metadata en el contexto mlx5e_txwqe_complete no es lo suficientemente bueno ya que ambas el compilador y la CPU son libres de reordenar estas dos funciones. Si se produce un reordenamiento, se verá el problema que supuestamente fue solucionado por 7e3f3ba97e6c (\"net/mlx5e: Seguimiento del envío de xmit a PTP WQ después de completar el mapa de metadatos\"). Esto dará lugar a desreferencias de puntero NULL en mlx5e_ptpsq_mark_ts_cqes_undelivered en el contexto de sondeo NAPI debido a que la lista de seguimiento se completa antes del mapa de metadatos.","source":"nvd"}],"published":"2024-04-17T10:17:19.757Z","modified":"2026-06-17T07:18:31.433Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"4d510506b46504664eacf8a44a9e8f3e54c137b8","fixed":"d1f71615dbb305f14f3b756cce015d70d8667549","status":"affected"},{"type":"git","introduced":"7e3f3ba97e6cc6fce5bf62df2ca06c8e59040167","fixed":"936ef086161ab89a7f38f7a0761d6a3063c3277e","status":"affected"},{"type":"git","introduced":"7e3f3ba97e6cc6fce5bf62df2ca06c8e59040167","fixed":"b7cf07586c40f926063d4d09f7de28ff82f62b2a","status":"affected"},{"type":"git","version":"a9d6c0c5a6bd9ca88e964f8843ea41bc085de866","status":"affected"},{"type":"semver","introduced":"6.6.3","fixed":"6.6.22","status":"affected"},{"type":"semver","introduced":"6.5.13","fixed":"6.6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"6.6.22","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.10","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.5.13","fixed":"6.6"},{"status":"affected","introduced":"6.6.3","fixed":"6.6.22"},{"status":"affected","introduced":"6.7","fixed":"6.7.10"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d1f71615dbb305f14f3b756cce015d70d8667549","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/936ef086161ab89a7f38f7a0761d6a3063c3277e","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b7cf07586c40f926063d4d09f7de28ff82f62b2a","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-17T17:41:34.337Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26858","url":"https://www.cve.org/CVERecord?id=CVE-2024-26858","licence":"CVE Terms of Use","modified":"2026-05-23T15:39:05.397Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26858","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26858","licence":"Public domain","modified":"2026-06-17T07:18:31.433Z"}],"updatedAt":"2026-11-25T22:58:39.360Z","epss":{"score":0.00227,"percentile":0.14342,"date":"2026-12-01T12:00:22.000Z"}}