Upload 5 files
Browse files
c/linux-6.15-rc4/c-reachables.slices.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
c/linux-6.15-rc4/depscan.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
c/linux-6.15-rc4/depscan.pdf
ADDED
|
Binary file (73.2 kB). View file
|
|
|
c/linux-6.15-rc4/depscan.toml.sample
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
config = "/Users/prabhu/work/owasp/dep-scan/.config/depscan.toml"
|
| 2 |
+
src_dir_image = "/Users/prabhu/sandbox/linux-6.15-rc4"
|
| 3 |
+
reports_dir = "/Users/prabhu/sandbox/linux-6.15-rc4/reports"
|
| 4 |
+
csaf = false
|
| 5 |
+
profile = "generic"
|
| 6 |
+
bom_engine = "auto"
|
| 7 |
+
vuln_analyzer = "LifecycleAnalyzer"
|
| 8 |
+
reachability_analyzer = "SemanticReachability"
|
| 9 |
+
suggest = true
|
| 10 |
+
risk_audit = false
|
| 11 |
+
project_type = [ "universal",]
|
| 12 |
+
bom_dir = "/Users/prabhu/sandbox/linux-6.15-rc4/reports"
|
| 13 |
+
report_name = "rendered.report"
|
| 14 |
+
deep_scan = false
|
| 15 |
+
fuzzy_search = false
|
| 16 |
+
search_order = "pcu"
|
| 17 |
+
non_universal_scan = false
|
| 18 |
+
no_vuln_table = false
|
| 19 |
+
server_mode = false
|
| 20 |
+
server_host = "127.0.0.1"
|
| 21 |
+
server_port = "7070"
|
| 22 |
+
enable_debug = false
|
| 23 |
+
quiet = false
|
| 24 |
+
explain = true
|
| 25 |
+
explanation_mode = "EndpointsAndReachables"
|
| 26 |
+
annotate = false
|
| 27 |
+
src_dir = "/Users/prabhu/sandbox/linux-6.15-rc4"
|
| 28 |
+
html_report_file = "/Users/prabhu/sandbox/linux-6.15-rc4/reports/depscan.html"
|
| 29 |
+
pdf_report_file = "/Users/prabhu/sandbox/linux-6.15-rc4/reports/depscan.pdf"
|
| 30 |
+
txt_report_file = "/Users/prabhu/sandbox/linux-6.15-rc4/reports/depscan.txt"
|
| 31 |
+
depscan_version = "6.0.0a2"
|
c/linux-6.15-rc4/depscan.txt
ADDED
|
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
INFO No vulnerabilities found!
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
Reachable Flows
|
| 5 |
+
|
| 6 |
+
Below are several data flows identified by depscan, including reachable ones. Use the tips provided to strengthen your applicationβs security posture.
|
| 7 |
+
|
| 8 |
+
#1 Parameter nroots β© to the method init_rs
|
| 9 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 10 |
+
β include/linux/rslib.h#98 init_rs(nroots) β© β
|
| 11 |
+
β βββ include/linux/rslib.h#100 init_rs_gfp(symsize, gfpoly, fcr, prim, nroots, GFP_KERNEL) β
|
| 12 |
+
β βββ lib/reed_solomon/reed_solomon.c#289 init_rs_gfp(nroots) β© β
|
| 13 |
+
β βββ lib/reed_solomon/reed_solomon.c#291 init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots, gfp) β
|
| 14 |
+
β βββ lib/reed_solomon/reed_solomon.c#215 init_rs_internal(nroots) β© β
|
| 15 |
+
β βββ lib/reed_solomon/reed_solomon.c#228 nroots < 0 β
|
| 16 |
+
β βββ lib/reed_solomon/reed_solomon.c#257 nroots != cd->nroots β
|
| 17 |
+
β βββ lib/reed_solomon/reed_solomon.c#261 rs->codec = cd β
|
| 18 |
+
β βββ lib/reed_solomon/reed_solomon.c#273 return rs; β
|
| 19 |
+
β βββ fs/pstore/ram_core.c#224 init_rs(prz->ecc_info.symsize, prz->ecc_info.poly, β
|
| 20 |
+
β βββ fs/pstore/ram_core.c#243 persistent_ram_decode_rs8(prz, buffer, sizeof(*buffer), β
|
| 21 |
+
β βββ fs/pstore/ram_core.c#111 persistent_ram_decode_rs8(prz) β© β
|
| 22 |
+
β βββ fs/pstore/ram_core.c#118 prz->rs_decoder β
|
| 23 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 24 |
+
|
| 25 |
+
#2 Parameter xdr β© to the method decode_diropok
|
| 26 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 27 |
+
β fs/nfs/nfs2xdr.c#510 decode_diropok(xdr) β© β
|
| 28 |
+
β βββ fs/nfs/nfs2xdr.c#515 decode_fhandle(xdr, result->fh) β
|
| 29 |
+
β βββ fs/nfs/nfs2xdr.c#189 decode_fhandle(xdr) β© β
|
| 30 |
+
β βββ fs/nfs/nfs2xdr.c#518 decode_fattr(xdr, result->fattr, userns) β
|
| 31 |
+
β βββ fs/nfs/nfs2xdr.c#262 decode_fattr(xdr) β© β
|
| 32 |
+
β βββ fs/nfs/nfs2xdr.c#268 xdr_inline_decode(xdr, NFS_fattr_sz << 2) β
|
| 33 |
+
β βββ include/linux/sunrpc/xdr.h#262 xdr_inline_decode(xdr) β© β
|
| 34 |
+
β βββ fs/nfs/nfs2xdr.c#268 NFS_fattr_sz << 2 β
|
| 35 |
+
β βββ fs/nfs/nfs2xdr.c#269 !p β
|
| 36 |
+
β βββ fs/nfs/nfs2xdr.c#274 xdr_decode_ftype(p, &type) β
|
| 37 |
+
β βββ fs/nfs/nfs2xdr.c#168 xdr_decode_ftype(p) β© β
|
| 38 |
+
β βββ fs/nfs/nfs2xdr.c#170 p++ β
|
| 39 |
+
β βββ fs/nfs/nfs2xdr.c#173 return p; β
|
| 40 |
+
β βββ fs/nfs/nfs2xdr.c#288 be32_to_cpup(p++) β
|
| 41 |
+
β βββ fs/nfs/nfs2xdr.c#289 new_decode_dev(rdev) β
|
| 42 |
+
β Tags: decode, library-call β
|
| 43 |
+
β β
|
| 44 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 45 |
+
|
| 46 |
+
#3 Parameter data β© to the method persistent_ram_decode_rs8
|
| 47 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 48 |
+
β fs/pstore/ram_core.c#112 persistent_ram_decode_rs8(data) β© β
|
| 49 |
+
β βββ fs/pstore/ram_core.c#118 decode_rs8(prz->rs_decoder, data, prz->ecc_info.par, len, β
|
| 50 |
+
β β Tags: decode, library-call β
|
| 51 |
+
β β β
|
| 52 |
+
β βββ fs/pstore/ram_core.c#119 NULL β
|
| 53 |
+
β βββ fs/pstore/ram_core.c#118 prz->ecc_info.par β
|
| 54 |
+
β βββ β
|
| 55 |
+
β βββ fs/pstore/ram_core.c#175 persistent_ram_decode_rs8(prz, block, size, par) β
|
| 56 |
+
β βββ fs/pstore/ram_core.c#111 persistent_ram_decode_rs8(prz) β© β
|
| 57 |
+
β βββ fs/pstore/ram_core.c#118 prz->rs_decoder β
|
| 58 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββοΏ½οΏ½οΏ½ββββββββ
|
| 59 |
+
|
| 60 |
+
#4 Parameter dev β© to the method do_mknodat
|
| 61 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 62 |
+
β fs/namei.c#4253 do_mknodat(dev) β© β
|
| 63 |
+
β βββ fs/namei.c#4271 security_path_mknod(&path, dentry, β
|
| 64 |
+
β βββ include/linux/security.h#2068 security_path_mknod(dev) β© β
|
| 65 |
+
β βββ fs/namei.c#4285 new_decode_dev(dev) β
|
| 66 |
+
β Tags: decode, library-call β
|
| 67 |
+
β β
|
| 68 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 69 |
+
|
| 70 |
+
#5 Parameter name β© to the method ramoops_init_prz
|
| 71 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 72 |
+
β fs/pstore/ram.c#584 ramoops_init_prz(name) β© β
|
| 73 |
+
β βββ fs/pstore/ram.c#601 kasprintf(GFP_KERNEL, "ramoops:%s", name) β
|
| 74 |
+
β βββ fs/pstore/ram.c#603 persistent_ram_new(*paddr, sz, sig, &cxt->ecc_info, β
|
| 75 |
+
β βββ fs/pstore/ram_core.c#586 persistent_ram_new(label) β© β
|
| 76 |
+
β βββ fs/pstore/ram_core.c#600 kstrdup(label, GFP_KERNEL) β
|
| 77 |
+
β βββ include/linux/string.h#301 kstrdup(s) β© β
|
| 78 |
+
β βββ fs/pstore/ram_core.c#600 GFP_KERNEL β
|
| 79 |
+
β βββ fs/pstore/ram_core.c#604 persistent_ram_buffer_map(start, size, prz, memtype) β
|
| 80 |
+
β βββ fs/pstore/ram_core.c#483 persistent_ram_buffer_map(prz) β© β
|
| 81 |
+
β βββ fs/pstore/ram_core.c#494 prz->vaddr β
|
| 82 |
+
β βββ β
|
| 83 |
+
β βββ fs/pstore/ram_core.c#608 persistent_ram_post_init(prz, sig, ecc_info) β
|
| 84 |
+
β βββ fs/pstore/ram_core.c#506 persistent_ram_post_init(prz) β© β
|
| 85 |
+
β βββ fs/pstore/ram_core.c#510 prz->flags β
|
| 86 |
+
β βββ fs/pstore/ram_core.c#512 persistent_ram_init_ecc(prz, ecc_info) β
|
| 87 |
+
β βββ fs/pstore/ram_core.c#188 persistent_ram_init_ecc(prz) β© β
|
| 88 |
+
β βββ fs/pstore/ram_core.c#204 prz->buffer_size β
|
| 89 |
+
β βββ include/linux/rslib.h#98 init_rs(nroots) β© β
|
| 90 |
+
β βββ include/linux/rslib.h#100 init_rs_gfp(symsize, gfpoly, fcr, prim, nroots, GFP_KERNEL) β
|
| 91 |
+
β βββ lib/reed_solomon/reed_solomon.c#289 init_rs_gfp(nroots) β© β
|
| 92 |
+
β βββ lib/reed_solomon/reed_solomon.c#291 init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots, gfp) β
|
| 93 |
+
β βββ lib/reed_solomon/reed_solomon.c#215 init_rs_internal(nroots) β© β
|
| 94 |
+
β βββ lib/reed_solomon/reed_solomon.c#228 nroots < 0 β
|
| 95 |
+
β βββ lib/reed_solomon/reed_solomon.c#257 nroots != cd->nroots β
|
| 96 |
+
β βββ lib/reed_solomon/reed_solomon.c#261 rs->codec = cd β
|
| 97 |
+
β βββ lib/reed_solomon/reed_solomon.c#273 return rs; β
|
| 98 |
+
β βββ fs/pstore/ram_core.c#224 init_rs(prz->ecc_info.symsize, prz->ecc_info.poly, β
|
| 99 |
+
β βββ fs/pstore/ram_core.c#243 persistent_ram_decode_rs8(prz, buffer, sizeof(*buffer), β
|
| 100 |
+
β βββ fs/pstore/ram_core.c#111 persistent_ram_decode_rs8(prz) β© β
|
| 101 |
+
β βββ fs/pstore/ram_core.c#118 prz->rs_decoder β
|
| 102 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 103 |
+
|
| 104 |
+
#6 Parameter prz β© to the method persistent_ram_init_ecc
|
| 105 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 106 |
+
β fs/pstore/ram_core.c#188 persistent_ram_init_ecc(prz) β© β
|
| 107 |
+
β βββ fs/pstore/ram_core.c#192 prz->buffer β
|
| 108 |
+
β βββ β
|
| 109 |
+
β βββ fs/pstore/ram_core.c#512 persistent_ram_init_ecc(prz, ecc_info) β
|
| 110 |
+
β βββ fs/pstore/ram_core.c#521 buffer_size(prz) β
|
| 111 |
+
β βββ fs/pstore/ram_core.c#42 buffer_size(prz) β© β
|
| 112 |
+
β βββ fs/pstore/zone.c#165 buffer_start(zone) β© β
|
| 113 |
+
β βββ fs/pstore/ram_core.c#526 prz->buffer_size β
|
| 114 |
+
β βββ fs/pstore/ram_core.c#527 buffer_start(prz) β
|
| 115 |
+
β βββ fs/pstore/ram_core.c#534 persistent_ram_save_old(prz) β
|
| 116 |
+
β βββ fs/pstore/ram_core.c#292 persistent_ram_save_old(prz) β© β
|
| 117 |
+
β βββ fs/pstore/ram_core.c#301 prz->old_log β
|
| 118 |
+
β βββ fs/pstore/ram_core.c#302 persistent_ram_ecc_old(prz) β
|
| 119 |
+
β βββ fs/pstore/ram_core.c#159 persistent_ram_ecc_old(prz) β© β
|
| 120 |
+
β βββ fs/pstore/ram_core.c#175 persistent_ram_decode_rs8(prz, block, size, par) β
|
| 121 |
+
β βββ fs/pstore/ram_core.c#111 persistent_ram_decode_rs8(prz) β© β
|
| 122 |
+
β βββ fs/pstore/ram_core.c#118 prz->rs_decoder β
|
| 123 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 124 |
+
|
| 125 |
+
#7 Parameter przs β© to the method ramoops_get_next_prz
|
| 126 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 127 |
+
β fs/pstore/ram.c#123 ramoops_get_next_prz(przs) β© β
|
| 128 |
+
β βββ fs/pstore/ram.c#129 !przs β
|
| 129 |
+
β βββ fs/pstore/ram.c#132 przs β
|
| 130 |
+
β βββ fs/pstore/ram.c#133 !prz β
|
| 131 |
+
β βββ fs/pstore/ram.c#137 prz->type β
|
| 132 |
+
β βββ fs/pstore/ram.c#138 persistent_ram_save_old(prz) β
|
| 133 |
+
β βββ fs/pstore/ram_core.c#292 persistent_ram_save_old(prz) β© β
|
| 134 |
+
β βββ fs/pstore/ram_core.c#294 prz->buffer β
|
| 135 |
+
β βββ fs/pstore/ram_core.c#295 buffer_size(prz) β
|
| 136 |
+
β βββ fs/pstore/ram_core.c#42 buffer_size(prz) β© β
|
| 137 |
+
β βββ fs/pstore/ram_core.c#296 buffer_start(prz) β
|
| 138 |
+
β βββ fs/pstore/zone.c#165 buffer_start(zone) β© β
|
| 139 |
+
β βββ fs/pstore/ram_core.c#301 prz->old_log β
|
| 140 |
+
β βββ fs/pstore/ram_core.c#302 persistent_ram_ecc_old(prz) β
|
| 141 |
+
β βββ fs/pstore/ram_core.c#159 persistent_ram_ecc_old(prz) β© β
|
| 142 |
+
β βββ fs/pstore/ram_core.c#175 persistent_ram_decode_rs8(prz, block, size, par) β
|
| 143 |
+
β βββ fs/pstore/ram_core.c#111 persistent_ram_decode_rs8(prz) β© β
|
| 144 |
+
β βββ fs/pstore/ram_core.c#118 prz->rs_decoder β
|
| 145 |
+
β βββ fs/pstore/ram_core.c#119 NULL β
|
| 146 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 147 |
+
|
| 148 |
+
#8 Parameter prz β© to the method persistent_ram_post_init
|
| 149 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 150 |
+
β fs/pstore/ram_core.c#506 persistent_ram_post_init(prz) β© β
|
| 151 |
+
β βββ fs/pstore/ram_core.c#510 prz->flags β
|
| 152 |
+
β βββ fs/pstore/ram_core.c#512 persistent_ram_init_ecc(prz, ecc_info) β
|
| 153 |
+
β βββ fs/pstore/ram_core.c#188 persistent_ram_init_ecc(prz) β© β
|
| 154 |
+
β βββ fs/pstore/ram_core.c#192 prz->buffer β
|
| 155 |
+
β βββ β
|
| 156 |
+
β βββ fs/pstore/ram_core.c#521 buffer_size(prz) β
|
| 157 |
+
β βββ fs/pstore/ram_core.c#42 buffer_size(prz) β© β
|
| 158 |
+
β βββ fs/pstore/zone.c#165 buffer_start(zone) β© β
|
| 159 |
+
β βββ fs/pstore/ram_core.c#526 prz->buffer_size β
|
| 160 |
+
β βββ fs/pstore/ram_core.c#527 buffer_start(prz) β
|
| 161 |
+
β βββ fs/pstore/ram_core.c#534 persistent_ram_save_old(prz) β
|
| 162 |
+
β βββ fs/pstore/ram_core.c#292 persistent_ram_save_old(prz) β© β
|
| 163 |
+
β βββ fs/pstore/ram_core.c#301 prz->old_log β
|
| 164 |
+
β βββ fs/pstore/ram_core.c#302 persistent_ram_ecc_old(prz) β
|
| 165 |
+
β βββ fs/pstore/ram_core.c#159 persistent_ram_ecc_old(prz) β© β
|
| 166 |
+
β βββ fs/pstore/ram_core.c#175 persistent_ram_decode_rs8(prz, block, size, par) β
|
| 167 |
+
β βββ fs/pstore/ram_core.c#111 persistent_ram_decode_rs8(prz) β© β
|
| 168 |
+
β βββ fs/pstore/ram_core.c#118 prz->rs_decoder β
|
| 169 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 170 |
+
|
| 171 |
+
#9 Parameter m_ctx β© to the method parse_apply_sb_mount_options
|
| 172 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 173 |
+
β fs/ext4/super.c#2462 parse_apply_sb_mount_options(m_ctx) β© β
|
| 174 |
+
β βββ fs/ext4/super.c#5295 parse_apply_sb_mount_options(sb, ctx) β
|
| 175 |
+
β βββ fs/ext4/super.c#5416 ext4_load_and_init_journal(sb, es, ctx) β
|
| 176 |
+
β βββ fs/ext4/super.c#4899 ext4_load_and_init_journal(ctx) β© β
|
| 177 |
+
β βββ fs/ext4/super.c#4904 ctx->journal_devnum β
|
| 178 |
+
β βββ fs/ext4/super.c#5984 ext4_load_journal(journal_devnum) β© β
|
| 179 |
+
β βββ fs/ext4/super.c#5997 journal_devnum != le32_to_cpu(es->s_journal_dev) β
|
| 180 |
+
β βββ fs/ext4/super.c#5996 journal_devnum && β
|
| 181 |
+
β βββ fs/ext4/super.c#6000 new_decode_dev(journal_devnum) β
|
| 182 |
+
β Tags: decode, library-call β
|
| 183 |
+
β β
|
| 184 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 185 |
+
|
| 186 |
+
#10 Parameter label β© to the method persistent_ram_new
|
| 187 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 188 |
+
β fs/pstore/ram_core.c#586 persistent_ram_new(label) β© β
|
| 189 |
+
β βββ fs/pstore/ram_core.c#600 kstrdup(label, GFP_KERNEL) β
|
| 190 |
+
β βββ fs/pstore/ram_core.c#608 persistent_ram_post_init(prz, sig, ecc_info) β
|
| 191 |
+
β βββ fs/pstore/ram_core.c#506 persistent_ram_post_init(prz) β© β
|
| 192 |
+
β βββ fs/pstore/ram_core.c#510 prz->flags β
|
| 193 |
+
β βββ fs/pstore/ram_core.c#512 persistent_ram_init_ecc(prz, ecc_info) β
|
| 194 |
+
β βββ fs/pstore/ram_core.c#188 persistent_ram_init_ecc(prz) β© β
|
| 195 |
+
β βββ fs/pstore/ram_core.c#192 prz->buffer β
|
| 196 |
+
β βββ β
|
| 197 |
+
β βββ fs/pstore/ram_core.c#521 buffer_size(prz) β
|
| 198 |
+
β βββ fs/pstore/ram_core.c#42 buffer_size(prz) β© β
|
| 199 |
+
β βββ fs/pstore/zone.c#165 buffer_start(zone) β© β
|
| 200 |
+
β βββ fs/pstore/ram_core.c#526 prz->buffer_size β
|
| 201 |
+
β βββ fs/pstore/ram_core.c#527 buffer_start(prz) β
|
| 202 |
+
β βββ fs/pstore/ram_core.c#534 persistent_ram_save_old(prz) β
|
| 203 |
+
β βββ fs/pstore/ram_core.c#292 persistent_ram_save_old(prz) β© β
|
| 204 |
+
β βββ fs/pstore/ram_core.c#301 prz->old_log β
|
| 205 |
+
β βββ fs/pstore/ram_core.c#302 persistent_ram_ecc_old(prz) β
|
| 206 |
+
β βββ fs/pstore/ram_core.c#159 persistent_ram_ecc_old(prz) β© β
|
| 207 |
+
β βββ fs/pstore/ram_core.c#175 persistent_ram_decode_rs8(prz, block, size, par) β
|
| 208 |
+
β βββ fs/pstore/ram_core.c#111 persistent_ram_decode_rs8(prz) β© β
|
| 209 |
+
β βββ fs/pstore/ram_core.c#118 prz->rs_decoder β
|
| 210 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 211 |
+
|
| 212 |
+
#11 Parameter mem_sz β© to the method ramoops_init_przs
|
| 213 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 214 |
+
β fs/pstore/ram.c#489 ramoops_init_przs(mem_sz) β© β
|
| 215 |
+
β βββ fs/pstore/ram.c#499 mem_sz == 0 β
|
| 216 |
+
β βββ fs/pstore/ram.c#519 mem_sz / record_size β
|
| 217 |
+
β βββ fs/pstore/ram.c#553 *cnt - 1 β
|
| 218 |
+
β βββ fs/pstore/ram.c#552 kasprintf(GFP_KERNEL, "ramoops:%s(%d/%d)", β
|
| 219 |
+
β βββ fs/pstore/ram.c#556 persistent_ram_new(*paddr, zone_sz, sig, β
|
| 220 |
+
β βββ fs/pstore/ram_core.c#586 persistent_ram_new(label) β© β
|
| 221 |
+
β βββ fs/pstore/ram_core.c#600 kstrdup(label, GFP_KERNEL) β
|
| 222 |
+
β βββ include/linux/string.h#301 kstrdup(s) β© β
|
| 223 |
+
β βββ fs/pstore/ram_core.c#600 GFP_KERNEL β
|
| 224 |
+
β βββ fs/pstore/ram_core.c#604 persistent_ram_buffer_map(start, size, prz, memtype) β
|
| 225 |
+
β βββ fs/pstore/ram_core.c#483 persistent_ram_buffer_map(prz) β© β
|
| 226 |
+
β βββ fs/pstore/ram_core.c#494 prz->vaddr β
|
| 227 |
+
β βββ β
|
| 228 |
+
β βββ fs/pstore/ram_core.c#608 persistent_ram_post_init(prz, sig, ecc_info) β
|
| 229 |
+
β βββ fs/pstore/ram_core.c#506 persistent_ram_post_init(prz) β© β
|
| 230 |
+
β βββ fs/pstore/ram_core.c#510 prz->flags β
|
| 231 |
+
β βββ fs/pstore/ram_core.c#512 persistent_ram_init_ecc(prz, ecc_info) β
|
| 232 |
+
β βββ fs/pstore/ram_core.c#188 persistent_ram_init_ecc(prz) β© β
|
| 233 |
+
β βββ fs/pstore/ram_core.c#204 prz->buffer_size β
|
| 234 |
+
β βββ include/linux/rslib.h#98 init_rs(nroots) β© β
|
| 235 |
+
β βββ include/linux/rslib.h#100 init_rs_gfp(symsize, gfpoly, fcr, prim, nroots, GFP_KERNEL) β
|
| 236 |
+
β βββ lib/reed_solomon/reed_solomon.c#289 init_rs_gfp(nroots) β© β
|
| 237 |
+
β βββ lib/reed_solomon/reed_solomon.c#291 init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots, gfp) β
|
| 238 |
+
β βββ lib/reed_solomon/reed_solomon.c#215 init_rs_internal(nroots) β© β
|
| 239 |
+
β βββ lib/reed_solomon/reed_solomon.c#228 nroots < 0 β
|
| 240 |
+
β βββ lib/reed_solomon/reed_solomon.c#257 nroots != cd->nroots β
|
| 241 |
+
β βββ lib/reed_solomon/reed_solomon.c#261 rs->codec = cd β
|
| 242 |
+
β βββ lib/reed_solomon/reed_solomon.c#273 return rs; β
|
| 243 |
+
β βββ fs/pstore/ram_core.c#224 init_rs(prz->ecc_info.symsize, prz->ecc_info.poly, β
|
| 244 |
+
β βββ fs/pstore/ram_core.c#243 persistent_ram_decode_rs8(prz, buffer, sizeof(*buffer), β
|
| 245 |
+
β βββ fs/pstore/ram_core.c#111 persistent_ram_decode_rs8(prz) β© β
|
| 246 |
+
β βββ fs/pstore/ram_core.c#118 prz->rs_decoder β
|
| 247 |
+
β βββ fs/pstore/ram_core.c#119 NULL β
|
| 248 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 249 |
+
|
| 250 |
+
#12 Parameter s β© to the method kstrdup
|
| 251 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 252 |
+
β include/linux/string.h#301 kstrdup(s) β© β
|
| 253 |
+
β βββ fs/pstore/ram_core.c#600 kstrdup(label, GFP_KERNEL) β
|
| 254 |
+
β βββ include/linux/string.h#301 kstrdup(gfp) β© β
|
| 255 |
+
β βββ fs/pstore/ram_core.c#600 GFP_KERNEL β
|
| 256 |
+
β βββ fs/pstore/ram_core.c#604 persistent_ram_buffer_map(start, size, prz, memtype) β
|
| 257 |
+
β βββ fs/pstore/ram_core.c#483 persistent_ram_buffer_map(prz) β© β
|
| 258 |
+
β βββ fs/pstore/ram_core.c#494 prz->vaddr β
|
| 259 |
+
β βββ β
|
| 260 |
+
β βββ fs/pstore/ram_core.c#608 persistent_ram_post_init(prz, sig, ecc_info) β
|
| 261 |
+
β βββ fs/pstore/ram_core.c#506 persistent_ram_post_init(prz) β© β
|
| 262 |
+
β βββ fs/pstore/ram_core.c#510 prz->flags β
|
| 263 |
+
β βββ fs/pstore/ram_core.c#512 persistent_ram_init_ecc(prz, ecc_info) β
|
| 264 |
+
β βββ fs/pstore/ram_core.c#188 persistent_ram_init_ecc(prz) β© β
|
| 265 |
+
β βββ fs/pstore/ram_core.c#204 prz->buffer_size β
|
| 266 |
+
β βββ include/linux/rslib.h#98 init_rs(nroots) β© β
|
| 267 |
+
β βββ include/linux/rslib.h#100 init_rs_gfp(symsize, gfpoly, fcr, prim, nroots, GFP_KERNEL) β
|
| 268 |
+
β βββ lib/reed_solomon/reed_solomon.c#289 init_rs_gfp(nroots) β© β
|
| 269 |
+
β βββ lib/reed_solomon/reed_solomon.c#291 init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots, gfp) β
|
| 270 |
+
β βββ lib/reed_solomon/reed_solomon.c#215 init_rs_internal(nroots) β© β
|
| 271 |
+
β βββ lib/reed_solomon/reed_solomon.c#228 nroots < 0 β
|
| 272 |
+
β βββ lib/reed_solomon/reed_solomon.c#257 nroots != cd->nroots β
|
| 273 |
+
β βββ lib/reed_solomon/reed_solomon.c#261 rs->codec = cd β
|
| 274 |
+
β βββ lib/reed_solomon/reed_solomon.c#273 return rs; β
|
| 275 |
+
β βββ fs/pstore/ram_core.c#224 init_rs(prz->ecc_info.symsize, prz->ecc_info.poly, β
|
| 276 |
+
β βββ fs/pstore/ram_core.c#243 persistent_ram_decode_rs8(prz, buffer, sizeof(*buffer), β
|
| 277 |
+
β βββ fs/pstore/ram_core.c#111 persistent_ram_decode_rs8(prz) β© β
|
| 278 |
+
β βββ fs/pstore/ram_core.c#118 prz->rs_decoder β
|
| 279 |
+
β βββ fs/pstore/ram_core.c#119 NULL β
|
| 280 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 281 |
+
|
| 282 |
+
#13 Parameter es β© to the method ext4_check_feature_compatibility can be used to reach packages with tags `validation`
|
| 283 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 284 |
+
β fs/ext4/super.c#4653 ext4_check_feature_compatibility(es) β© β
|
| 285 |
+
β Tags: validation β
|
| 286 |
+
β β
|
| 287 |
+
β βββ fs/ext4/super.c#4658 es->s_rev_level β
|
| 288 |
+
β βββ β
|
| 289 |
+
β βββ fs/ext4/super.c#5325 ext4_check_feature_compatibility(sb, es, silent) β
|
| 290 |
+
β βββ fs/ext4/super.c#5341 ext4_check_geometry(sb, es) β
|
| 291 |
+
β βββ fs/ext4/super.c#4757 ext4_check_geometry(es) β© β
|
| 292 |
+
β β Tags: validation β
|
| 293 |
+
β β β
|
| 294 |
+
β βββ fs/ext4/super.c#5349 ext4_group_desc_init(sb, es, logical_sb_block, &first_not_zeroed) β
|
| 295 |
+
β βββ fs/ext4/super.c#4836 ext4_group_desc_init(es) β© β
|
| 296 |
+
β βββ fs/ext4/super.c#4848 es->s_first_meta_bg β
|
| 297 |
+
β βββ fs/ext4/super.c#5387 es->s_uuid β
|
| 298 |
+
β βββ include/linux/fs.h#2714 super_set_uuid(uuid) β© β
|
| 299 |
+
β βββ fs/ext4/super.c#5416 ext4_load_and_init_journal(sb, es, ctx) β
|
| 300 |
+
β βββ fs/ext4/super.c#4898 ext4_load_and_init_journal(es) β© β
|
| 301 |
+
β βββ fs/ext4/super.c#4904 ext4_load_journal(sb, es, ctx->journal_devnum) β
|
| 302 |
+
β βββ fs/ext4/super.c#5983 ext4_load_journal(es) β© β
|
| 303 |
+
β βββ fs/ext4/super.c#5997 es->s_journal_dev β
|
| 304 |
+
β βββ fs/ext4/super.c#5996 journal_devnum && β
|
| 305 |
+
β βββ fs/ext4/super.c#6000 new_decode_dev(journal_devnum) β
|
| 306 |
+
β Tags: decode, library-call β
|
| 307 |
+
β β
|
| 308 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 309 |
+
β½ Verify that the mitigation(s) used in this flow are valid and appropriate for your security requirements.
|
| 310 |
+
|
| 311 |
+
#14 Parameter label β© to the method persistent_ram_new
|
| 312 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 313 |
+
β fs/pstore/ram_core.c#586 persistent_ram_new(label) β© β
|
| 314 |
+
β βββ fs/pstore/ram_core.c#600 kstrdup(label, GFP_KERNEL) β
|
| 315 |
+
β βββ fs/pstore/ram_core.c#608 persistent_ram_post_init(prz, sig, ecc_info) β
|
| 316 |
+
β βββ fs/pstore/ram_core.c#506 persistent_ram_post_init(prz) β© β
|
| 317 |
+
β βββ fs/pstore/ram_core.c#510 prz->flags β
|
| 318 |
+
β βββ fs/pstore/ram_core.c#512 persistent_ram_init_ecc(prz, ecc_info) β
|
| 319 |
+
β βββ fs/pstore/ram_core.c#188 persistent_ram_init_ecc(prz) β© β
|
| 320 |
+
β βββ fs/pstore/ram_core.c#192 prz->buffer β
|
| 321 |
+
β βββ β
|
| 322 |
+
β βββ fs/pstore/ram_core.c#521 buffer_size(prz) β
|
| 323 |
+
β βββ fs/pstore/ram_core.c#42 buffer_size(prz) β© β
|
| 324 |
+
β βββ fs/pstore/zone.c#165 buffer_start(zone) β© β
|
| 325 |
+
β βββ fs/pstore/ram_core.c#526 prz->buffer_size β
|
| 326 |
+
β βββ fs/pstore/ram_core.c#527 buffer_start(prz) β
|
| 327 |
+
β βββ fs/pstore/ram_core.c#534 persistent_ram_save_old(prz) β
|
| 328 |
+
β βββ fs/pstore/ram_core.c#292 persistent_ram_save_old(prz) β© β
|
| 329 |
+
β βββ fs/pstore/ram_core.c#301 prz->old_log β
|
| 330 |
+
β βββ fs/pstore/ram_core.c#302 persistent_ram_ecc_old(prz) β
|
| 331 |
+
β βββ fs/pstore/ram_core.c#159 persistent_ram_ecc_old(prz) β© β
|
| 332 |
+
β βββ fs/pstore/ram_core.c#175 persistent_ram_decode_rs8(prz, block, size, par) β
|
| 333 |
+
β βββ fs/pstore/ram_core.c#111 persistent_ram_decode_rs8(prz) β© β
|
| 334 |
+
β βββ fs/pstore/ram_core.c#118 prz->rs_decoder β
|
| 335 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 336 |
+
|
| 337 |
+
#15 Parameter fcr β© to the method init_rs_internal
|
| 338 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 339 |
+
β lib/reed_solomon/reed_solomon.c#214 init_rs_internal(fcr) β© β
|
| 340 |
+
β βββ lib/reed_solomon/reed_solomon.c#224 fcr < 0 β
|
| 341 |
+
β βββ lib/reed_solomon/reed_solomon.c#253 fcr != cd->fcr β
|
| 342 |
+
β βββ lib/reed_solomon/reed_solomon.c#261 rs->codec = cd β
|
| 343 |
+
β βββ lib/reed_solomon/reed_solomon.c#273 return rs; β
|
| 344 |
+
β βββ lib/reed_solomon/reed_solomon.c#291 init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots, gfp) β
|
| 345 |
+
β βββ include/linux/rslib.h#100 init_rs_gfp(symsize, gfpoly, fcr, prim, nroots, GFP_KERNEL) β
|
| 346 |
+
β βοΏ½οΏ½β fs/pstore/ram_core.c#224 init_rs(prz->ecc_info.symsize, prz->ecc_info.poly, β
|
| 347 |
+
β βββ fs/pstore/ram_core.c#243 persistent_ram_decode_rs8(prz, buffer, sizeof(*buffer), β
|
| 348 |
+
β βββ fs/pstore/ram_core.c#111 persistent_ram_decode_rs8(prz) β© β
|
| 349 |
+
β βββ fs/pstore/ram_core.c#118 prz->rs_decoder β
|
| 350 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 351 |
+
|
| 352 |
+
#16 Parameter mem_sz β© to the method ramoops_init_przs
|
| 353 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 354 |
+
β fs/pstore/ram.c#489 ramoops_init_przs(mem_sz) β© β
|
| 355 |
+
β βββ fs/pstore/ram.c#499 mem_sz == 0 β
|
| 356 |
+
β βββ fs/pstore/ram.c#519 mem_sz / record_size β
|
| 357 |
+
β βββ fs/pstore/ram.c#553 *cnt - 1 β
|
| 358 |
+
β βββ fs/pstore/ram.c#552 kasprintf(GFP_KERNEL, "ramoops:%s(%d/%d)", β
|
| 359 |
+
β βββ fs/pstore/ram.c#556 persistent_ram_new(*paddr, zone_sz, sig, β
|
| 360 |
+
β βββ fs/pstore/ram_core.c#586 persistent_ram_new(label) β© β
|
| 361 |
+
β βββ fs/pstore/ram_core.c#600 kstrdup(label, GFP_KERNEL) β
|
| 362 |
+
β βββ include/linux/string.h#301 kstrdup(s) β© β
|
| 363 |
+
β βββ fs/pstore/ram_core.c#600 GFP_KERNEL β
|
| 364 |
+
β βββ fs/pstore/ram_core.c#604 persistent_ram_buffer_map(start, size, prz, memtype) β
|
| 365 |
+
β βββ fs/pstore/ram_core.c#483 persistent_ram_buffer_map(prz) β© β
|
| 366 |
+
β βββ fs/pstore/ram_core.c#494 prz->vaddr β
|
| 367 |
+
β βββ β
|
| 368 |
+
β βββ fs/pstore/ram_core.c#608 persistent_ram_post_init(prz, sig, ecc_info) β
|
| 369 |
+
β βββ fs/pstore/ram_core.c#506 persistent_ram_post_init(prz) β© β
|
| 370 |
+
β βββ fs/pstore/ram_core.c#510 prz->flags β
|
| 371 |
+
β βββ fs/pstore/ram_core.c#512 persistent_ram_init_ecc(prz, ecc_info) β
|
| 372 |
+
β βββ fs/pstore/ram_core.c#188 persistent_ram_init_ecc(prz) β© β
|
| 373 |
+
β βββ fs/pstore/ram_core.c#204 prz->buffer_size β
|
| 374 |
+
β βββ include/linux/rslib.h#98 init_rs(nroots) β© β
|
| 375 |
+
β βοΏ½οΏ½β include/linux/rslib.h#100 init_rs_gfp(symsize, gfpoly, fcr, prim, nroots, GFP_KERNEL) β
|
| 376 |
+
β βββ lib/reed_solomon/reed_solomon.c#289 init_rs_gfp(nroots) β© β
|
| 377 |
+
β βββ lib/reed_solomon/reed_solomon.c#291 init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots, gfp) β
|
| 378 |
+
β βββ lib/reed_solomon/reed_solomon.c#215 init_rs_internal(nroots) β© β
|
| 379 |
+
β βββ lib/reed_solomon/reed_solomon.c#228 nroots < 0 β
|
| 380 |
+
β βββ lib/reed_solomon/reed_solomon.c#257 nroots != cd->nroots β
|
| 381 |
+
β βββ lib/reed_solomon/reed_solomon.c#261 rs->codec = cd β
|
| 382 |
+
β βββ lib/reed_solomon/reed_solomon.c#273 return rs; β
|
| 383 |
+
β βββ fs/pstore/ram_core.c#224 init_rs(prz->ecc_info.symsize, prz->ecc_info.poly, β
|
| 384 |
+
β βββ fs/pstore/ram_core.c#243 persistent_ram_decode_rs8(prz, buffer, sizeof(*buffer), β
|
| 385 |
+
β βββ fs/pstore/ram_core.c#111 persistent_ram_decode_rs8(prz) β© β
|
| 386 |
+
β βββ fs/pstore/ram_core.c#118 prz->rs_decoder β
|
| 387 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 388 |
+
|
| 389 |
+
#17 Parameter xdr β© to the method decode_attrstat
|
| 390 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 391 |
+
β fs/nfs/nfs2xdr.c#461 decode_attrstat(xdr) β© β
|
| 392 |
+
β βββ fs/nfs/nfs2xdr.c#468 decode_stat(xdr, &status) β
|
| 393 |
+
β βββ fs/nfs/nfs2xdr.c#138 decode_stat(xdr) β© β
|
| 394 |
+
β βββ fs/nfs/nfs2xdr.c#475 decode_fattr(xdr, result, userns) β
|
| 395 |
+
β βββ fs/nfs/nfs2xdr.c#262 decode_fattr(xdr) β© β
|
| 396 |
+
β βββ fs/nfs/nfs2xdr.c#268 xdr_inline_decode(xdr, NFS_fattr_sz << 2) β
|
| 397 |
+
β βββ include/linux/sunrpc/xdr.h#262 xdr_inline_decode(xdr) β© β
|
| 398 |
+
β βββ fs/nfs/nfs2xdr.c#268 NFS_fattr_sz << 2 β
|
| 399 |
+
β βββ fs/nfs/nfs2xdr.c#269 !p β
|
| 400 |
+
β βββ fs/nfs/nfs2xdr.c#274 xdr_decode_ftype(p, &type) β
|
| 401 |
+
β βββ fs/nfs/nfs2xdr.c#168 xdr_decode_ftype(p) β© β
|
| 402 |
+
β βββ fs/nfs/nfs2xdr.c#170 p++ β
|
| 403 |
+
β βββ fs/nfs/nfs2xdr.c#173 return p; β
|
| 404 |
+
β βοΏ½οΏ½β fs/nfs/nfs2xdr.c#288 be32_to_cpup(p++) β
|
| 405 |
+
β βββ fs/nfs/nfs2xdr.c#289 new_decode_dev(rdev) β
|
| 406 |
+
β Tags: decode, library-call β
|
| 407 |
+
β β
|
| 408 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 409 |
+
|
| 410 |
+
#18 Parameter prim β© to the method init_rs
|
| 411 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 412 |
+
β include/linux/rslib.h#98 init_rs(prim) β© β
|
| 413 |
+
β βββ include/linux/rslib.h#100 init_rs_gfp(symsize, gfpoly, fcr, prim, nroots, GFP_KERNEL) β
|
| 414 |
+
β βββ lib/reed_solomon/reed_solomon.c#288 init_rs_gfp(prim) β© β
|
| 415 |
+
β βββ lib/reed_solomon/reed_solomon.c#291 init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots, gfp) β
|
| 416 |
+
β βββ lib/reed_solomon/reed_solomon.c#215 init_rs_internal(prim) β© β
|
| 417 |
+
β βββ lib/reed_solomon/reed_solomon.c#226 prim <= 0 β
|
| 418 |
+
β βββ lib/reed_solomon/reed_solomon.c#255 prim != cd->prim β
|
| 419 |
+
β βββ lib/reed_solomon/reed_solomon.c#261 rs->codec = cd β
|
| 420 |
+
β βββ lib/reed_solomon/reed_solomon.c#273 return rs; β
|
| 421 |
+
β βββ fs/pstore/ram_core.c#224 init_rs(prz->ecc_info.symsize, prz->ecc_info.poly, β
|
| 422 |
+
β βββ fs/pstore/ram_core.c#243 persistent_ram_decode_rs8(prz, buffer, sizeof(*buffer), β
|
| 423 |
+
β βββ fs/pstore/ram_core.c#111 persistent_ram_decode_rs8(prz) β© β
|
| 424 |
+
β βββ fs/pstore/ram_core.c#118 prz->rs_decoder β
|
| 425 |
+
β βββ fs/pstore/ram_core.c#119 NULL β
|
| 426 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 427 |
+
|
| 428 |
+
#19 Parameter flags β© to the method persistent_ram_new
|
| 429 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 430 |
+
β fs/pstore/ram_core.c#586 persistent_ram_new(flags) β© β
|
| 431 |
+
β βββ fs/pstore/ram_core.c#599 prz->flags = flags β
|
| 432 |
+
β βββ fs/pstore/ram_core.c#608 persistent_ram_post_init(prz, sig, ecc_info) β
|
| 433 |
+
β βββ fs/pstore/ram_core.c#506 persistent_ram_post_init(prz) β© β
|
| 434 |
+
β βββ fs/pstore/ram_core.c#510 prz->flags β
|
| 435 |
+
β βββ fs/pstore/ram_core.c#512 persistent_ram_init_ecc(prz, ecc_info) β
|
| 436 |
+
β βββ fs/pstore/ram_core.c#188 persistent_ram_init_ecc(prz) β© β
|
| 437 |
+
β βββ fs/pstore/ram_core.c#192 prz->buffer β
|
| 438 |
+
β βββ β
|
| 439 |
+
β βββ fs/pstore/ram_core.c#521 buffer_size(prz) β
|
| 440 |
+
β βββ fs/pstore/ram_core.c#42 buffer_size(prz) β© β
|
| 441 |
+
β βββ fs/pstore/zone.c#165 buffer_start(zone) β© β
|
| 442 |
+
β βββ fs/pstore/ram_core.c#526 prz->buffer_size β
|
| 443 |
+
β βββ fs/pstore/ram_core.c#527 buffer_start(prz) β
|
| 444 |
+
β βββ fs/pstore/ram_core.c#534 persistent_ram_save_old(prz) β
|
| 445 |
+
β βββ fs/pstore/ram_core.c#292 persistent_ram_save_old(prz) β© β
|
| 446 |
+
β βββ fs/pstore/ram_core.c#301 prz->old_log β
|
| 447 |
+
β βββ fs/pstore/ram_core.c#302 persistent_ram_ecc_old(prz) β
|
| 448 |
+
β βββ fs/pstore/ram_core.c#159 persistent_ram_ecc_old(prz) β© β
|
| 449 |
+
β βββ fs/pstore/ram_core.c#175 persistent_ram_decode_rs8(prz, block, size, par) β
|
| 450 |
+
β βββ fs/pstore/ram_core.c#111 persistent_ram_decode_rs8(prz) β© β
|
| 451 |
+
β βββ fs/pstore/ram_core.c#118 prz->rs_decoder β
|
| 452 |
+
β βββ fs/pstore/ram_core.c#119 NULL β
|
| 453 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 454 |
+
|
| 455 |
+
#20 Parameter gfpoly β© to the method init_rs_gfp
|
| 456 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 457 |
+
β lib/reed_solomon/reed_solomon.c#288 init_rs_gfp(gfpoly) β© β
|
| 458 |
+
β βββ lib/reed_solomon/reed_solomon.c#291 init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots, gfp) β
|
| 459 |
+
β βββ lib/reed_solomon/reed_solomon.c#213 init_rs_internal(gfpoly) β© β
|
| 460 |
+
β βββ lib/reed_solomon/reed_solomon.c#249 gfpoly != cd->gfpoly β
|
| 461 |
+
β βββ lib/reed_solomon/reed_solomon.c#261 rs->codec = cd β
|
| 462 |
+
β βββ lib/reed_solomon/reed_solomon.c#273 return rs; β
|
| 463 |
+
β βββ include/linux/rslib.h#100 init_rs_gfp(symsize, gfpoly, fcr, prim, nroots, GFP_KERNEL) β
|
| 464 |
+
β βββ fs/pstore/ram_core.c#224 init_rs(prz->ecc_info.symsize, prz->ecc_info.poly, β
|
| 465 |
+
β βββ fs/pstore/ram_core.c#243 persistent_ram_decode_rs8(prz, buffer, sizeof(*buffer), β
|
| 466 |
+
β βββ fs/pstore/ram_core.c#111 persistent_ram_decode_rs8(prz) β© β
|
| 467 |
+
β βββ fs/pstore/ram_core.c#118 prz->rs_decoder β
|
| 468 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 469 |
+
|
| 470 |
+
Secure Design Tips
|
| 471 |
+
|
| 472 |
+
β’ Continuously fuzz the parser and validation functions with diverse payloads.
|
| 473 |
+
β’ Generate build SBOMs with OWASP blint by building this project for various architecture combinations. Re-run depscan with the --bom-dir argument to enhance the analysis.
|