Commit d5273fd
committed
Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Pull bpf fixes from Alexei Starovoitov:
- Fix how linked registers track zero extension of subregisters (Daniel
Borkmann)
- Fix unsound scalar fork for OR instructions (Daniel Wade)
- Fix exception exit lock check for subprogs (Ihor Solodrai)
- Fix undefined behavior in interpreter for SDIV/SMOD instructions
(Jenny Guanni Qu)
- Release module's BTF when module is unloaded (Kumar Kartikeya
Dwivedi)
- Fix constant blinding for PROBE_MEM32 instructions (Sachin Kumar)
- Reset register ID for END instructions to prevent incorrect value
tracking (Yazhou Tang)
* tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf:
selftests/bpf: Add a test cases for sync_linked_regs regarding zext propagation
bpf: Fix sync_linked_regs regarding BPF_ADD_CONST32 zext propagation
selftests/bpf: Add tests for maybe_fork_scalars() OR vs AND handling
bpf: Fix unsound scalar forking in maybe_fork_scalars() for BPF_OR
selftests/bpf: Add tests for sdiv32/smod32 with INT_MIN dividend
bpf: Fix undefined behavior in interpreter sdiv/smod for INT_MIN
selftests/bpf: Add tests for bpf_throw lock leak from subprogs
bpf: Fix exception exit lock checking for subprogs
bpf: Release module BTF IDR before module unload
selftests/bpf: Fix pkg-config call on static builds
bpf: Fix constant blinding for PROBE_MEM32 stores
selftests/bpf: Add test for BPF_END register ID reset
bpf: Reset register ID for BPF_END value trackingFile tree
9 files changed
+416
-24
lines changed- kernel/bpf
- tools/testing/selftests/bpf
- progs
9 files changed
+416
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1787 | 1787 | | |
1788 | 1788 | | |
1789 | 1789 | | |
1790 | | - | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
1791 | 1800 | | |
1792 | 1801 | | |
1793 | 1802 | | |
| |||
8115 | 8124 | | |
8116 | 8125 | | |
8117 | 8126 | | |
8118 | | - | |
| 8127 | + | |
8119 | 8128 | | |
8120 | 8129 | | |
8121 | 8130 | | |
| |||
8197 | 8206 | | |
8198 | 8207 | | |
8199 | 8208 | | |
8200 | | - | |
| 8209 | + | |
8201 | 8210 | | |
8202 | 8211 | | |
8203 | 8212 | | |
| |||
8260 | 8269 | | |
8261 | 8270 | | |
8262 | 8271 | | |
8263 | | - | |
| 8272 | + | |
8264 | 8273 | | |
8265 | 8274 | | |
8266 | 8275 | | |
| |||
8382 | 8391 | | |
8383 | 8392 | | |
8384 | 8393 | | |
| 8394 | + | |
| 8395 | + | |
| 8396 | + | |
| 8397 | + | |
| 8398 | + | |
| 8399 | + | |
| 8400 | + | |
8385 | 8401 | | |
8386 | 8402 | | |
8387 | 8403 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1422 | 1422 | | |
1423 | 1423 | | |
1424 | 1424 | | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
1425 | 1446 | | |
1426 | 1447 | | |
1427 | 1448 | | |
| |||
1736 | 1757 | | |
1737 | 1758 | | |
1738 | 1759 | | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
1739 | 1766 | | |
1740 | 1767 | | |
1741 | 1768 | | |
| |||
1900 | 1927 | | |
1901 | 1928 | | |
1902 | 1929 | | |
1903 | | - | |
1904 | | - | |
| 1930 | + | |
| 1931 | + | |
1905 | 1932 | | |
1906 | 1933 | | |
1907 | 1934 | | |
| |||
1928 | 1955 | | |
1929 | 1956 | | |
1930 | 1957 | | |
1931 | | - | |
1932 | | - | |
| 1958 | + | |
| 1959 | + | |
1933 | 1960 | | |
1934 | 1961 | | |
1935 | 1962 | | |
| |||
1955 | 1982 | | |
1956 | 1983 | | |
1957 | 1984 | | |
1958 | | - | |
1959 | | - | |
| 1985 | + | |
| 1986 | + | |
1960 | 1987 | | |
1961 | 1988 | | |
1962 | 1989 | | |
| |||
1982 | 2009 | | |
1983 | 2010 | | |
1984 | 2011 | | |
1985 | | - | |
1986 | | - | |
| 2012 | + | |
| 2013 | + | |
1987 | 2014 | | |
1988 | 2015 | | |
1989 | 2016 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15910 | 15910 | | |
15911 | 15911 | | |
15912 | 15912 | | |
| 15913 | + | |
| 15914 | + | |
| 15915 | + | |
| 15916 | + | |
| 15917 | + | |
| 15918 | + | |
| 15919 | + | |
15913 | 15920 | | |
15914 | 15921 | | |
15915 | 15922 | | |
| |||
15992 | 15999 | | |
15993 | 16000 | | |
15994 | 16001 | | |
15995 | | - | |
| 16002 | + | |
15996 | 16003 | | |
15997 | 16004 | | |
15998 | 16005 | | |
| |||
17408 | 17415 | | |
17409 | 17416 | | |
17410 | 17417 | | |
| 17418 | + | |
| 17419 | + | |
| 17420 | + | |
| 17421 | + | |
| 17422 | + | |
| 17423 | + | |
17411 | 17424 | | |
17412 | 17425 | | |
17413 | 17426 | | |
| |||
17435 | 17448 | | |
17436 | 17449 | | |
17437 | 17450 | | |
17438 | | - | |
| 17451 | + | |
17439 | 17452 | | |
17440 | 17453 | | |
17441 | 17454 | | |
| |||
19863 | 19876 | | |
19864 | 19877 | | |
19865 | 19878 | | |
19866 | | - | |
19867 | | - | |
19868 | | - | |
19869 | | - | |
19870 | | - | |
| 19879 | + | |
| 19880 | + | |
| 19881 | + | |
| 19882 | + | |
| 19883 | + | |
| 19884 | + | |
| 19885 | + | |
| 19886 | + | |
19871 | 19887 | | |
19872 | 19888 | | |
19873 | 19889 | | |
| |||
20904 | 20920 | | |
20905 | 20921 | | |
20906 | 20922 | | |
20907 | | - | |
| 20923 | + | |
| 20924 | + | |
20908 | 20925 | | |
20909 | 20926 | | |
20910 | 20927 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
| 412 | + | |
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
131 | 136 | | |
132 | 137 | | |
133 | 138 | | |
134 | | - | |
| 139 | + | |
135 | 140 | | |
136 | 141 | | |
137 | 142 | | |
| |||
147 | 152 | | |
148 | 153 | | |
149 | 154 | | |
150 | | - | |
| 155 | + | |
151 | 156 | | |
152 | 157 | | |
153 | 158 | | |
154 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
155 | 162 | | |
156 | 163 | | |
157 | 164 | | |
| |||
346 | 353 | | |
347 | 354 | | |
348 | 355 | | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
349 | 399 | | |
0 commit comments