Skip to content

[CWE-682] bpf: Change inode_storage's lookup_elem return value from NULL to -EBADF#149

Open
surinderunitone wants to merge 1 commit into
masterfrom
fix/bpf_issue_674
Open

[CWE-682] bpf: Change inode_storage's lookup_elem return value from NULL to -EBADF#149
surinderunitone wants to merge 1 commit into
masterfrom
fix/bpf_issue_674

Conversation

@surinderunitone
Copy link
Copy Markdown

Security Fix

Issue: bpf_issue_674
CWE: CWE-682
Match Type: EXACT
Affected File: kernel/bpf/bpf_inode_storage.c

Vulnerability Description

Security Advisory

Vulnerability: bpf: Change inode_storage's lookup_elem return value from NULL to -EBADF
CWE: CWE-682
Files: kernel/bpf/bpf_inode_storage.c

Fix Required: Apply minimal code change.

Fix Details

  • Vulnerable Commit: 350a5c4dd245
  • Reference Fix: 769c18b254ca
  • Generated Fix Match: EXACT

Generated by Intent Security Fixer

…o -EBADF

CWE-682 security fix generated by AI security fixer.

Original vulnerability in commit 350a5c4.
Reference fix: 769c18b

Match type: EXACT

Generated by Intent Security Fixer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant