Commit Graph

142 Commits

Author SHA1 Message Date
ChipSec 3e4dec69a2 Update to 2.0.2 (#2719)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2026-03-31 14:30:40 -07:00
Nathaniel Mitchell 08963cf024 Update asm to support return thunk that is enabled in kernel 6.19
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-03-26 13:58:48 -07:00
ChipSec 898b08d4af Update to 2.0.1 (#2679)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2026-02-13 13:36:33 -08:00
ChipSec 12ac22cf13 Update to 2.0.0 (#2661)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2026-01-30 23:34:44 -08:00
Stephan f5b750fa07 Fix objtool errors (#2594)
* Fix objtool 'unannotated intra-function call'

Fixes objtool errors in stricter kernel configs

objtool likely wants the function to be annotated with
SYM_CODE_START/SYM_CODE_END (linux/linkage.h). It might be
better to rewrite the linux kernel module assembly files to use gas,
and properly annotate everything, but this should be a quick fix for
now.

* Use module_init/module_exit in linux driver

Fixes objtool errors in stricter kernel configs

* Make init functions static

* Re-add __init & __exit macros in linux driver

* Add semicolons after module_init/module_exit calls

---------

Signed-off-by: J. Stephan Bentze <j.s.bentze@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-29 11:59:38 -08:00
ChipSec 4a328da95d Update to 2.0.0-rc5 (#2634)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2025-12-15 10:46:15 -08:00
ChipSec 4f139a4586 Update to 2.0.0-rc4 (#2589)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2025-10-01 11:58:22 -07:00
ChipSec 0b37c55b9f Update to 2.0.0-rc3 (#2572)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2025-09-02 23:41:02 -07:00
Nathaniel Mitchell 0017b5eec8 Update linux driver
Per https://github.com/torvalds/linux/commit/86758b504864913233f6a16076184ba784cd4466

Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-07-30 23:58:27 -07:00
Nathaniel Mitchell 9ba69d2cf6 Update version to rc2
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-06-05 12:30:38 +08:00
Nathaniel Mitchell 439c1a4d09 General update to chipsec2
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-04-18 12:00:31 -07:00
ChipSec 5811395813 Update to 1.13.9 (#2402)
* Update to 1.13.9

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2025-02-18 10:37:43 -08:00
ChipSec 534884648d Update to 1.13.8 (#2373)
* Update to 1.13.8

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2025-02-18 10:37:07 -08:00
Nathaniel Mitchell 88f2416fc5 Resolve reported build issue in Orical Linux
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-02-18 10:35:21 -08:00
ChipSec 17f3a504ed Update to 1.13.7 (#2345)
* Update to 1.13.7

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2024-10-30 14:05:41 -07:00
Carles Pey 391f42370c Add SMI detection accuracy improvements
Signed-off-by: Carles Pey <carles.pey@nccgroup.com>
2024-10-21 16:38:00 -07:00
ChipSec ba26973bf8 Update to 1.13.6 (#2317)
* Update to 1.13.6

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2024-09-26 13:20:38 -07:00
ChipSec ce3379cc20 Update to 1.13.5 (#2281)
* Update to 1.13.5

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2024-08-28 16:51:21 -07:00
ChipSec 4e24c41462 Update to 1.13.4 (#2246)
* Update to 1.13.4

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2024-07-30 15:47:36 -07:00
dscott90 7107ec5846 Revert "Update to 1.13.4 (#2244)"
This reverts commit 5c928ddbff.
2024-07-30 15:38:23 -07:00
ChipSec 5c928ddbff Update to 1.13.4 (#2244)
* Update to 1.13.4
* update manual

Signed-off-by: Chipsec <chipsec@intel.com>
2024-07-30 15:24:07 -07:00
ChipSec 4ca05a5a41 Update to 1.13.3 (#2210)
* Update to 1.13.3

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2024-06-28 16:37:18 -07:00
ChipSec 8163a864ac Update to 1.13.2 (#2175)
* Update to 1.13.2

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2024-05-29 16:17:31 -07:00
Carles Pey 19e2553138 Add SMI enumeration mode to the smm_ptr module (#2141)
* Add SMI enumeration mode to the smm_ptr module

Signed-off-by: Carles Pey <carles.pey@nccgroup.com>
2024-05-29 10:19:42 -07:00
ChipSec 69239ba1b6 Update to 1.13.1 (#2149)
* Update to 1.13.1

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2024-04-25 14:51:03 -07:00
ChipSec 10ed132902 Update to 1.13.0 (#2112)
* Update to 1.13.0

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2024-03-28 13:55:24 -07:00
ChipSec 6862cd6aa9 Update to 1.12.9 (#2071)
* Update to 1.12.9

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2024-02-29 13:21:49 -08:00
Jason Zhou 2cc1ceec92 Update to 1.12.8
Signed-off-by: Jason Zhou <jun2.zhou@intel.com>
2024-01-25 13:31:17 -08:00
ChipSec 061378cc13 Update to 1.12.7 (#2045)
Update to 1.12.7

Signed-off-by: Jason Zhou <jun2.zhou@intel.com>
2024-01-04 11:54:50 -08:00
ChipSec 696b3bc71f Update to 1.12.6 (#2029)
* Update to 1.12.6

Signed-off-by: Jason Zhou <jun2.zhou@intel.com>

* update manual

Signed-off-by: Jason Zhou <jun2.zhou@intel.com>

---------

Signed-off-by: Jason Zhou <jun2.zhou@intel.com>
Co-authored-by: Jason Zhou <jun2.zhou@intel.com>
2023-12-18 16:42:30 -08:00
Jason Zhou 576e34aecd Update to 1.12.5
Signed-off-by: Jason Zhou <jun2.zhou@intel.com>
2023-12-11 14:08:33 -08:00
Nathaniel Mitchell 9a32ef5f9a Update to 1.12.4
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-10-26 09:13:28 -07:00
Nathaniel Mitchell 6b22e9acd3 Update to 1.12.3
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-09-29 09:38:30 -07:00
Nathaniel Mitchell 7066ad538f Update to 1.12.2
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-09-08 15:23:27 -07:00
Nathaniel Mitchell 2b531e676c Update to 1.12.1
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-08-30 15:18:08 -07:00
Nathaniel Mitchell 025e15548f Update to 1.12.0
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-07-28 13:49:15 -07:00
Nathaniel Mitchell d3285ee2c5 Update to 1.11.1
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-06-28 11:11:52 -07:00
Nathaniel Mitchell 00ba41226e Update to 1.11.0
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-05-31 09:40:42 -07:00
Nicolas Iooss 666f085811 drivers/linux: increase the possible length of symbols
In Linux 6.1, `KSYM_NAME_LEN` was increased to 512 because "at the
moment, Rust symbols may reach up to 300 in length", according to
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/linux/kallsyms.h?id=b8a94bfb33952bb17fbc65f8903d242a721c533d

Even though the version of `chipsec_lookup_name` which parses the
content of `/proc/kallsyms` is limited to kernels older than 5.10,
increase the size of the stack buffer to prevent possible issues.

Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
2023-05-16 16:38:39 -07:00
Nathaniel Mitchell d08fb0f96b Update to 1.10.6
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-05-05 15:56:14 -07:00
Nathaniel Mitchell 8962072378 Update to 1.10.5
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-04-27 09:46:26 -07:00
Nathaniel Mitchell 2c42ead1fa Update to 1.10.4
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-03-30 14:32:57 -07:00
Dan Scott 094ce48082 Update to 1.10.3
Signed-off-by: Dan Scott <dan.scott@intel.com>
2023-03-01 15:11:58 -08:00
Nathaniel Mitchell 62fcefced3 Update to 1.10.2
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-02-03 09:45:53 -08:00
Nathaniel Mitchell 4ce4ebc56c Update to 1.10.1
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-01-25 12:33:55 -08:00
Dan Scott d1e3ab2800 Update to 1.10.0
Signed-off-by: Dan Scott <dan.scott@intel.com>
2022-12-19 15:10:12 -08:00
Nathaniel Mitchell d8c2a606bf Update to 1.9.1
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2022-10-28 12:20:42 -07:00
Dan Scott d91485a6d8 Update to 1.9.0
Signed-off-by: Dan Scott <dan.scott@intel.com>
2022-09-30 16:59:39 -07:00
Dan Scott fd1a986889 Update to 1.8.8
Signed-off-by: Dan Scott <dan.scott@intel.com>
2022-08-26 18:12:42 -07:00
Mathias Krause 81f859c572 drivers/linux: reinstantiate DMA32 allocations
Commit 81fa32bd7e ("drivers/linux: enforce address requirement for
IOCTL_ALLOC_PHYSMEM") tried to enforce the physical address constraints
provided by the user. However, it's broken for the memory range 16M-4G
as there's no DMA32 kmalloc cache, making the request allocate from the
normal zone which is free to return an address above 4GB for systems
with enough RAM.

Commit d010b82b0d ("Fix malloc issue in Linux driver") worked around
that issue by simple dropping the DMA32 allocation and only using DMA
allocations for which kmalloc slabs do exist.

As the DMA zone is a scarce resource and might be exhausted already, use
a different allocation scheme for chipsec that directly allocates memory
from the page allocator which honours both, DMA and DMA32 requests.

Also fix the allocation list handling while at it. The stored physical
address might be truncated on 32-bit PAE systems because of the use of
'physaddr_t' instead of 'phys_addr_t'.

Signed-off-by: Mathias Krause <minipli@grsecurity.net>
2022-08-26 11:52:02 -07:00