Kreon locking command needs different length #997

Closed
opened 2026-01-29 15:37:33 +00:00 by claunia · 0 comments
Owner

Originally created by @mnadareski on GitHub (Aug 16, 2024).

Version

5.3.0

Commit hash

No response

Tested debug version?

  • Yes

Which operating systems have you used?

  • Windows
  • Linux
  • macOS
  • Other

What is the architectural bit size you're using?

  • 32-bit
  • 64-bit
  • Unsure or unknown

What processor are you using?

  • An Intel or AMD
  • An ARM or Apple Silicon
  • Unsure or unknown

Device manufacturer

Kreon

Device model

Kreon

Bus the device uses to attach to the computer

  • Parallel ATA
  • Serial ATA
  • SCSI (any)
  • ATAPI (mark above if parallel or serial)
  • USB
  • FireWire
  • PCMCIA
  • SecureDigital
  • MultiMediaCard

USB cable or card reader manufacturer

No response

USB cable or card reader model

No response

What were you doing when it failed?

  • I was dumping media (disk, tape, etc)...
  • I was retrieving media (disk, tape, etc) information...
  • I was scanning media (disk, tape, etc)...
  • I was retrieving device information...

Description

The Kreon commands (0xFF-prefixed) run into an issue where the commands conform to CDB6 but internal to libata, the length is expected to be CDB10. This was found during testing of a WIP commit to enable Kreon support in Redumper. Windows appears to ignore the length disparity entirely.

Exact command line used

aaru media dump /dev/sr0 ~/Downloads/xgd.iso

Expected behavior

XGD dumped without any issues unlocking and locking.

Actual behavior

Relocking behavior does not succeed.

Output of command execution with debug output enabled

N/A

Media details

No response

Originally created by @mnadareski on GitHub (Aug 16, 2024). ### Version 5.3.0 ### Commit hash _No response_ ### Tested debug version? - [X] Yes ### Which operating systems have you used? - [ ] Windows - [X] Linux - [ ] macOS - [ ] Other ### What is the architectural bit size you're using? - [ ] 32-bit - [X] 64-bit - [ ] Unsure or unknown ### What processor are you using? - [X] An Intel or AMD - [ ] An ARM or Apple Silicon - [ ] Unsure or unknown ### Device manufacturer Kreon ### Device model Kreon ### Bus the device uses to attach to the computer - [ ] Parallel ATA - [X] Serial ATA - [ ] SCSI (any) - [ ] ATAPI (mark above if parallel or serial) - [ ] USB - [ ] FireWire - [ ] PCMCIA - [ ] SecureDigital - [ ] MultiMediaCard ### USB cable or card reader manufacturer _No response_ ### USB cable or card reader model _No response_ ### What were you doing when it failed? - [ ] I was dumping media (disk, tape, etc)... - [ ] I was retrieving media (disk, tape, etc) information... - [ ] I was scanning media (disk, tape, etc)... - [ ] I was retrieving device information... ### Description The Kreon commands (`0xFF`-prefixed) run into an issue where the commands conform to CDB6 but internal to `libata`, the length is expected to be CDB10. This was found during testing of a WIP commit to enable Kreon support in Redumper. Windows appears to ignore the length disparity entirely. ### Exact command line used `aaru media dump /dev/sr0 ~/Downloads/xgd.iso` ### Expected behavior XGD dumped without any issues unlocking and locking. ### Actual behavior Relocking behavior does not succeed. ### Output of command execution with debug output enabled ```shell N/A ``` ### Media details _No response_
claunia added the bugneeds triagemedia labels 2026-01-29 15:37:33 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#997