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 13, 2024
1 parent 897a275 commit 2a48ae5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions cvehound/cve/CVE-2023-2598.cocci
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/// Files: io_uring/rsrc.c
/// Fix: 776617db78c6d208780e7c69d4d68d1fa82913de
/// Fixes: 57bebf807e2abcf87d96b9de1266104ee2d8fc2f

virtual detect

@err@
identifier pages, folio;
position p;
@@

io_sqe_buffer_register(...)
{
...
* if (page_folio(pages[i]) != folio@p) {
* folio = NULL;
* break;
* }
...
}

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

0 comments on commit 2a48ae5

Please sign in to comment.