prabhuat commited on
Commit
cbeae33
Β·
verified Β·
1 Parent(s): a9ce2d6

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.