Skip to content

fix: multiple memcpy operations in squashfs kernel m... in cache.c#3559

Open
orbisai0security wants to merge 1 commit into
ventoy:masterfrom
orbisai0security:fix-fix-squashfs-cache-memcpy-bounds-validation
Open

fix: multiple memcpy operations in squashfs kernel m... in cache.c#3559
orbisai0security wants to merge 1 commit into
ventoy:masterfrom
orbisai0security:fix-fix-squashfs-cache-memcpy-bounds-validation

Conversation

@orbisai0security
Copy link
Copy Markdown

Summary

Fix critical severity security issue in SQUASHFS/squashfs-tools-4.4/kernel/kernel-2.6/fs/squashfs/cache.c.

Vulnerability

Field Value
ID V-001
Severity CRITICAL
Scanner multi_agent_ai
Rule V-001
File SQUASHFS/squashfs-tools-4.4/kernel/kernel-2.6/fs/squashfs/cache.c:311

Description: Multiple memcpy operations in SQUASHFS kernel module copy data from filesystem blocks into cache buffers without validating that the source size fits within destination buffer boundaries. The 'remaining' and 'bytes' parameters are derived from untrusted filesystem metadata and are not validated against allocated buffer size before copying.

Changes

  • SQUASHFS/squashfs-tools-4.4/kernel/kernel-2.6/fs/squashfs/cache.c

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • LLM code review passed

Automated security fix by OrbisAI Security

Automated security fix generated by Orbis Security AI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant