CVE-2024-26591
Public on 2024-02-22
        Modified on 2024-02-28
        
      Description
            
              bpf: Fix re-attachment branch in bpf_tracing_prog_attach
The following case can cause a crash due to missing attach_btf:
1) load rawtp program
2) load fentry program with rawtp as target_fd
3) create tracing link for fentry program with target_fd = 0
4) repeat 3
          The following case can cause a crash due to missing attach_btf:
1) load rawtp program
2) load fentry program with rawtp as target_fd
3) create tracing link for fentry program with target_fd = 0
4) repeat 3
Severity
          
          See what this means
        CVSS v3 Base Score
          
          See breakdown
        Affected Packages
| Platform | Package | Release Date | Advisory | Status | 
|---|---|---|---|---|
| Amazon Linux 1 | kernel | No Fix Planned | ||
| Amazon Linux 2 - Core | kernel | Pending Fix | ||
| Amazon Linux 2 - Kernel-5.10 Extra | kernel | Pending Fix | ||
| Amazon Linux 2 - Kernel-5.4 Extra | kernel | Pending Fix | ||
| Amazon Linux 2 - Kernel-5.15 Extra | kernel | 2024-02-05 | ALAS2KERNEL-5.15-2024-036 | Fixed | 
| Amazon Linux 2023 | kernel | 2024-02-19 | ALAS2023-2024-519 | Fixed | 
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | 
| NVD | CVSSv3 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |