🔍 CVE-2026-45907

5.5
CVSS Score
MEDIUM
2026-05-27
2026-06-24 16:27
✅ 완료

🇰🇷 한글 설명

Linux 커널의 mlx5e 드라이버에서 devlink와 netdev 인스턴스 잠금 간의 잘못된 잠금 순서로 인해 데드락(Deadlock)이 발생할 수 있는 취약점입니다. 특정 복구 흐름에서 잠금 순서가 뒤바뀌어 시스템이 응답하지 않는 상태에 빠질 수 있습니다.

💡 쉬운 설명

컴퓨터 부품을 관리하는 소프트웨어에서 두 가지 작업이 서로의 자원을 기다리며 무한히 대기하는 상태가 발생할 수 있습니다. 이로 인해 네트워크 기능이 멈추거나 시스템 전체가 먹통이 될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix deadlocks between devlink and netdev instance locks In the mentioned "Fixes" commit, various work tasks triggering devlink health reporter recovery were switched to use netdev_trylock to protect against concurrent tear down of the channels being recovered. But this had the side effect of introducing potential deadlocks because of incorrect lock ordering. The correct lock order is described by the init flow: probe_one -> mlx5_init_one (acquires devlink lock) -> mlx5_init_one_devl_locked -> mlx5_register_device -> mlx5_rescan_drivers_locked -...-> mlx5e_probe -> _mlx5e_probe -> register_netdev (acquires rtnl lock) -> register_netdevice (acquires netdev lock) => devlink lock -> rtnl lock -> netdev lock. But in the current recovery flow, the order is wrong: mlx5e_tx_err_cqe_work (acquires netdev lock) -> mlx5e_reporter_tx_err_cqe -> mlx5e_health_report -> devlink_health_report (acquires devlink lock => boom!) -> devlink_health_reporter_recover -> mlx5e_tx_reporter_recover -> mlx5e_tx_reporter_recover_from_ctx -> mlx5e_tx_reporter_err_cqe_recover The same pattern exists in: mlx5e_reporter_rx_timeout mlx5e_reporter_tx_ptpsq_unhealthy mlx5e_reporter_tx_timeout Fix these by moving the netdev_trylock calls from the work handlers lower in the call stack, in the respective recovery functions, where they are actually necessary.

📍 영향받는 시스템

Linux kernel (mlx5e driver module)

⚔️ 공격 벡터

로컬 환경에서 네트워크 오류를 유도하여 특정 드라이버 복구 경로를 실행함으로써 발생 가능

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel