Commit Graph
53855 Commits
Author SHA1 Message Date
Jiang Jiang Jian 12dd02396b Merge branch 'bugfix/change_pvt_timer_target_param' into 'master'
feat(pvt): change pvt timer target & limit on master

See merge request espressif/esp-idf!50472
2026-07-09 16:53:01 +08:00
morris 6b29697fc8 Merge branch 'fix/fix_i2s_i80_color_size_check' into 'master'
fix(lcd): add color size check for i80 and boundary check for rgb

Closes SEC-1141 and SEC-1150

See merge request espressif/esp-idf!50201
2026-07-09 15:16:01 +08:00
Jiang Jiang Jian a7883b90c5 Merge branch 'fix/blacklist_flag_correction' into 'master'
Correct blacklist flag

Closes WIFIBUG-1959

See merge request espressif/esp-idf!49830
2026-07-09 14:44:42 +08:00
morris 583c7414a0 Merge branch 'feat/sec_esp_drivers' into 'master'
fix(drivers): harden multiple peripheral drivers against local DoS and memory corruption

Closes SEC-1183, SEC-1181, SEC-1191, SEC-1120, SEC-1154, SEC-1138, SEC-1136, and SEC-1140

See merge request espressif/esp-idf!50203
2026-07-09 14:21:11 +08:00
Zhang Wen Xu be720aac9a Merge branch 'fix/openthread-spinel-crypto-lib-build' into 'master'
fix(openthread): disable software retx security in spinel-only config

See merge request espressif/esp-idf!50530
2026-07-09 04:20:52 +00:00
Xu Si Yu ad931960dd fix(openthread): disable software retx security in spinel-only config 2026-07-09 11:27:57 +08:00
morris b99459931a fix(sdspi): reject oversized pre-read data before block receive
Guard start_command_read_blocks against cards that place TOKEN_BLOCK_START so early that extra_data_size exceeds the bytes expected on the current iteration. Without this check, the unsigned subtraction for will_receive underflows and propagates into memset, SPI transaction length, and memcpy counts against the fixed 516-byte block buffer.
2026-07-09 10:27:01 +08:00
morris 498f9aa96a fix(spi_slave): free DMA-private buffers when transaction queue is full
spi_slave_queue_trans calls spi_slave_setup_priv_trans to allocate
DMA buffers, then tries xQueueSend. If the queue is full the function
returns ESP_ERR_TIMEOUT without freeing those buffers, leaking up to
2 * max_transfer_sz per failed call. Call spi_slave_uninstall_priv_trans
before returning the timeout.
2026-07-09 10:27:01 +08:00
morris e86fcc8b48 fix(jpeg): release platform mutex on semaphore/pm-lock allocation failure
jpeg_acquire_codec_handle acquires s_jpeg_platform.mutex at entry
but two ESP_RETURN_ON_* macros (semaphore-create and PM-lock-create
failure) return without releasing it. Replace with ESP_GOTO_ON_*
that jumps to a cleanup label which frees partial resources, NULLs
the codec pointer, and releases the mutex.
2026-07-09 10:27:01 +08:00
morris 73031f7280 fix(i2c): release platform mutex on intr/pm_lock delete failure
ESP_RETURN_ON_ERROR inside the s_i2c_platform.mutex critical section
returns without releasing the mutex, permanently blocking all I2C
bus operations. Replace with ESP_GOTO_ON_ERROR that jumps to a
cleanup label releasing the mutex before return.
2026-07-09 10:27:01 +08:00
morris 56f56b887b fix(csi): move csi_fsm init before resource allocation to fix err-path leak
CSI_FSM_INIT is 1, but the controller struct is zero-allocated.
Any failure before the former csi_fsm assignment (near the end of
esp_cam_new_csi_ctlr) jumped to err: which called s_del_csi_ctlr.
That function bailed out immediately because csi_fsm == 0, leaking
the claimed slot, queue, bridge, DMA channel, PM lock, and backup
buffer. Move csi_fsm = CSI_FSM_INIT right after a successful claim
so the err: path properly tears down all allocated resources.
2026-07-09 10:27:01 +08:00
morris 944c74dbda fix(adc): add missing input validation for channel and ret_handle
- adc_cali_curve_fitting: validate config->chan in check_valid() to
  prevent OOB access into s_adc_cali_chan_compens compensation table
- adc_filter: make s_adc_filter_free idempotent on !UNIT_BINDED SoCs
  to prevent double-free on repeated adc_del_continuous_iir_filter
- adc_cali_line_fitting(esp32): fix config && config typo to
  config && ret_handle, preventing NULL-pointer dereference
2026-07-09 10:27:01 +08:00
Zhang Wen Xu c828d0d709 Merge branch 'feat/update_openthread_submodule_and_br_lib_20260624' into 'master'
feat(openthread): update openthread submodule

Closes IDFCI-2648

See merge request espressif/esp-idf!49974
2026-07-08 12:36:23 +00:00
Samuel Obuch 1f47009339 Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20260703' into 'master'
feat(tools): update openocd version to v0.12.0-esp32-20260703

See merge request espressif/esp-idf!50423
2026-07-08 12:47:40 +02:00
tarun.kumar f614b0343c fix(wifi) : Correct blacklist flag
- Fixes state desync where global blacklist was cleared but blacklist bss flag was true causing rejection of correct AP as well.
2026-07-08 15:22:50 +05:30
morris d5c193167a Merge branch 'refactor/move_regdma_entry_config_to_driver_layer_jpeg' into 'master'
refactor(jpeg): move sleep retention config into driver layer

See merge request espressif/esp-idf!50465
2026-07-08 17:28:06 +08:00
C.S.M 3359f647c5 Merge branch 'feat/h21_temperature_sensor' into 'master'
feat(temperature_sensor): Add temperature sensor support for esp32h21

Closes IDF-11624 and IDF-11625

See merge request espressif/esp-idf!50419
2026-07-08 17:02:58 +08:00
Song Ruo Jing 056590f7a4 Merge branch 'feature/uart_rs485_half_duplex_collision_detection' into 'master'
feat(uart): add collision detection test cases for RS485

Closes IDFGH-15463

See merge request espressif/esp-idf!50244
2026-07-08 17:00:00 +08:00
Rahul Tank 63943f4d8b Merge branch 'bugfix/ai_reviewer_nimble_1.6' into 'master'
fix(nimble): Fixes for AI reported issues

See merge request espressif/esp-idf!50012
2026-07-08 13:55:54 +05:30
Fu Hanxi 58b12cbf42 Merge branch 'ci/simplify-ci' into 'master'
ci: remove pip-cache and other unused jobs

See merge request espressif/esp-idf!50301
2026-07-08 09:54:00 +02:00
Wang Meng Yang 0a3ccbc151 Merge branch 'bugfix/smp_sec_flags' into 'master'
fix(bt/bluedroid): fixed several security issues from NVIDIA

Closes SEC-084, SEC-713, SEC-1143, SEC-1153, SEC-1164, and SEC-1169

See merge request espressif/esp-idf!50200
2026-07-08 12:41:25 +08:00
Song Ruo Jing 4a94a5a396 fix(stdio): add console input ability when selects ESP_CONSOLE_UART_CUSTOM_NUM_1 2026-07-08 12:08:46 +08:00
Song Ruo Jing ef635c533b feat(uart): add collision detection test cases for RS485
Related https://github.com/espressif/esp-idf/issues/16101
2026-07-08 12:08:40 +08:00
Wang Meng Yang 8ef144e239 Merge branch 'bugfix/idf_ci_hid_example' into 'master'
fix(bt/example): Add print the device name to verify if it matches in HID example

Closes IDFCI-9124 and IDFCI-3631

See merge request espressif/esp-idf!50375
2026-07-08 11:20:15 +08:00
Wang Meng Yang 7bfe369f86 Merge branch 'bugfix/bug_bounty_av' into 'master'
fix(bt/bluedroid): Fix bug bounty issues about A/V from NVIDIA

Closes SEC-1186 and SEC-1187

See merge request espressif/esp-idf!50318
2026-07-08 11:18:23 +08:00
yanzihan@espressif.com 259ecfdbeb feat(pvt): change pvt timer target & limit 2026-07-08 11:15:35 +08:00
Marius Vikhammer ff88ad88a9 Merge branch 'test/linux-full-component-build' into 'master'
test: add Linux full component build app

See merge request espressif/esp-idf!50377
2026-07-08 10:13:12 +08:00
Martin Vychodil 5d8acd46e9 Merge branch 'fix/fatfs_6682_fat32_overflow' into 'master'
fix(storage/fatfs): fix FAT32 mount integer overflow (CVE-2026-6682)

See merge request espressif/esp-idf!50448
2026-07-08 05:53:45 +08:00
Tomáš Rohlínek 6a20a83421 fix(storage/fatfs): fix FAT32 mount integer overflow (CVE-2026-6682)
The initial CVE-2026-6682 fix (merged in !50362) hardened the exFAT
mount path, but the CVE as reported by runZero is a FAT32 defect in
mount_volume() and is reachable in ESP-IDF's default configuration
(exFAT and 64-bit LBA disabled). This corrects the fix.

Root cause: `fasize *= fs->n_fats` is a DWORD multiply with no overflow
guard. A crafted BPB_FATSz32 such as 0x80000001 with NumFATs=2 wraps
`fasize` to 0x00000002. The wrapped (too-small) FAT size then places
`fs->database` inside the FAT region, so a forged directory entry in the
overlapping sector yields an attacker-controlled `finfo.fsize`. Any
caller that uses that size as a read length overflows its buffer with
attacker-controlled bytes (CVSS 7.6, path to RCE). The later
`fs->fsize < szbfat` check does not catch this because it compares the
un-doubled single-FAT size, which is still large.

Fix: reject a per-FAT size that overflows DWORD when multiplied by the
FAT count, and reject a reserved+FAT+root system-area size that overflows
DWORD, before either value is used to derive the data-area base.

The previous exFAT cluster-heap/bitmap 64-bit promotions are retained as
defense-in-depth and their comments relabeled accordingly (they are not
CVE-2026-6682). The SBOM cve-exclude-list reason is updated to describe
the FAT32 overflow and its fix.
2026-07-07 16:36:30 +02:00
Li Shuai f70ea602fe Merge branch 'feat/idfgh-17859' into 'master'
add kconfig option for REGDMA sleep clock ICG

Closes IDFGH-17859

See merge request espressif/esp-idf!50228
2026-07-07 21:50:10 +08:00
Wang Meng Yang 78fea40c2e Merge branch 'fix/tx_power_validate' into 'master'
fix(bt): validate BR/EDR TX power against chip-supported range

See merge request espressif/esp-idf!50072
2026-07-07 20:38:45 +08:00
Jiang Jiang Jian 1605930498 Merge branch 'bugfix/fix_offchan_rx_fail_when_spiram_enabled' into 'master'
fix(wifi): fixed the offchan tx fail when SPIRAM_TRY_ALLOCATE_WIFI_LWIP enabled

Closes WIFI-7402

See merge request espressif/esp-idf!50194
2026-07-07 19:34:43 +08:00
Samuel Obuch 808f860b43 feat(tools): update openocd version to v0.12.0-esp32-20260703 2026-07-07 13:23:06 +02:00
morris 47f4e5d412 refactor(jpeg): move sleep retention config into driver layer
Move per-target JPEG regdma retention descriptors out of esp_hal_jpeg
and into
esp_driver_jpeg so the codec driver owns its backup scope and restore
flow.
2026-07-07 19:03:05 +08:00
Rahul Tank 6d835d5226 fix(nimble): Fixes for AI reported issues 2026-07-07 15:45:24 +05:30
Mahavir Jain 05250d7dd1 Merge branch 'feat/enable_cross_signed_cert_suppport_default' into 'master'
feat(mbedtls): enable cross signed certificate verification support by default

See merge request espressif/esp-idf!49905
2026-07-07 14:47:37 +05:30
Fu Hanxi d8f4d6ccda ci: remove build report and failed job report 2026-07-07 11:07:16 +02:00
Fu Hanxi 148c5e26f7 ci: remove pip-cache
we have global pip mirror now
2026-07-07 11:06:03 +02:00
Hu Rui 484f5f3426 Merge branch 'feat/usj_custom_intr_prior' into 'master'
feat(usj): support set interrupt priority

Closes IDF-7961

See merge request espressif/esp-idf!50376
2026-07-07 16:35:06 +08:00
chenqingqing 9fbebf293d fix(bt): clarify BR/EDR TX power behavior in menuconfig help 2026-07-07 15:39:26 +08:00
zhangyanjiao cf695709f1 fix(wifi): fixed the offchan tx fail when SPIRAM_TRY_ALLOCATE_WIFI_LWIP enabled 2026-07-07 15:31:00 +08:00
C.S.M fff527fbd7 feat(temperature_sensor): Add temperature sensor support for esp32h21 2026-07-07 15:05:39 +08:00
C.S.M e36835fe0c Merge branch 'fix/jpeg_enc_encrypt' into 'master'
fix(jpeg): Jpeg can encode and decode in encryption situation

Closes IDF-15061

See merge request espressif/esp-idf!50063
2026-07-07 13:36:20 +08:00
Mahavir Jain cf322e283f Merge branch 'fix/bootloader_anti_rollback_konfig' into 'master'
fix(bootloader): Hide bootloader anti-rollback Kconfig where not supported

See merge request espressif/esp-idf!50413
2026-07-07 10:40:21 +05:30
Nachiket Kukade 87ed41697c Merge branch 'fix/pbkdf2_sha256_mbedtls4_guard' into 'master'
fix(wpa_supplicant): guard pbkdf2_sha256 for PSA-provided SHA-256

See merge request espressif/esp-idf!50395
2026-07-07 12:25:47 +08:00
Meet Patel 2fd3ccbb19 Merge branch 'test/idf-additions-coverage' into 'master'
test(freertos): expand IDF additions test coverage

See merge request espressif/esp-idf!50303
2026-07-07 09:44:56 +05:30
Song Ruo Jing e00086907a Merge branch 'bugfix/uart_sw_flow_ctrl_xoff_char' into 'master'
fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6

Closes IDFGH-17885

See merge request espressif/esp-idf!50296
2026-07-07 12:11:30 +08:00
C.S.M 048b4dde0c feat(psram): Add unencrypted region for psram for esp32s31 2026-07-07 10:42:45 +08:00
C.S.M fbdf6d7427 fix(jpeg): JPEG can encode and decode in encryption situation 2026-07-07 10:42:45 +08:00
morris fbe6d9005a Merge branch 'refactor/move_regdma_entry_config_to_driver_layer_sdm' into 'master'
refactor(sdm): move sleep retention config into driver layer

See merge request espressif/esp-idf!50364
2026-07-07 00:07:33 +08:00