Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Efremov <efremov@linux.com>
  • Loading branch information
evdenis committed Feb 9, 2024
1 parent f5c3e22 commit c2127c3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions cvehound/cve/CVE-2024-0584.cocci
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/// Files: net/ipv4/igmp.c
/// Fix: e2b706c691905fe78468c361aaabc719d0a496f1
/// Fixes: v2.6.12-rc2

virtual detect

@err@
identifier im;
position p;
@@

igmp_start_timer(struct ip_mc_list *im, ...)
{
...
im->tm_running = 1;
* if (!mod_timer@p(&im->timer, ...))
* \(refcount_inc\|atomic_inc\)(&im->refcnt);
...
}

@script:python depends on detect@
p << err.p;
@@
coccilib.report.print_report(p[0], 'ERROR: CVE-2024-0584')

0 comments on commit c2127c3

Please sign in to comment.